ODBC: Reviewed the local use of the rows_processed (#84, #145)

... for a better support to get_affected_rows() - it now uses the right type and it doesn't need to be static anymore. Added Windows 8 / Visual Studio 2012 support to find ODBC dev files. Also, fixes a missing snprintf definition under Windows.