Implement odbc_server_to_sql_type as a type function

Instead of having a single large function that handle all types reuse
new type structures extension to add a function for every group type.
Actually there is still a huge function but can be split more in
the future.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Move odbc_set_sql_type_info in odbc_data.c

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>