python lint fixes
fix termination
upgrade sqlalchemy version
small optomization
fix return type for app delegate exit
Merge pull request #98 from ranman/bug/termination

Fix OSX Termination and upgrade sql alchemy version