Make PyMySQL work inside App generated by py2app

Setting the 'optimize' level to 2 was causing pymysql imports to
fail. This sets the 'optimize' level to 1, which only results in
a 1 MB increase in size and solves the issue.

8 hours worth of debugging for a 1 character change.

Fixes #144 and #145.