support for mysql-connector-c

check for LIBMYSQL_VERSION, if it exists we are linking against the
connector library, otherwise, use MYSQL_SERVER_VERSION as before

added preprocessor variable to track connector library version
Merge branch 'connector-compatability'