Get the TYPE_XXX value for a given string. Recognised strings are:
boolean, int8, uint8, int16, uint16, int32, uint32, int64, uint64,
float, double, decimal, timestamp, message, string, unicode, blob

A short representation for the string or TYPE_INVALID