Updated to 3.0.7 version from GoogleCode.

Updated to version 3.0.7 from GoogleCode. Also patched ODBC error
handling to loop through all errors on *nix platform since our ODBC
driver needs it and we do not plan on using PostGreSQL.