Fix sqlalchemy 0.8.x compatibility
Merge pull request #21 from egabancho/develop-sqlalchemy-08x-compatibility

Fix sqlalchemy 0.8.x compatibility