[STORAGE] switched from MySQLdb to pymysql

This was actually quite easy. Pymysql has 100% backwards compatibility with MySQLdb so the changes required are just a few