Resolved issues with using peewee on app engine.

App Engine does not support sqlite3 so in order to get peewee to work I had to add in checks for it. This was my quick and dirty solution. There's probably a more elegant way to handle this.