fix handling of enums string
add "string" as an alias of "text" field type.
don't trim text fields when precision=0
implement compression of enum fields
implement decompression of enums
fix bugs with enum field handling. now seems to work.