Reorganize utilities

Move __unique_string, argument validations and __mad_version into
utilities
Compatibility issue: GPDB41

When creating table, it seems that GPDB41 also needs a similar treatment
as GPDB40.
Added data_cols existence check to general CV