Changed insert_hashes to fit the new data format
Switched back to MySQLdb for better support of executemany.
Merge remote-tracking branch 'wessie/master'