Fix for #215 and some other related improvements

The `$_types_091`, ..., `getSupportedDataTypes`, `checkDataTypeIsSupported`, ... and all those static functions could be also moved to `AbstractClient`