ARELLE-283 update MySQL interface to for GAE, uses pymysql library
on 3.3 distribution (MIT license) and accepts MySQLdb library on
2.7 (GAE-provided, LGPL license)