Update database.py

Inverted logic means _release_internal will always fail on a rollback. Fixed and simplified.
Update setup.py

Bugfix version bump.
Merge pull request #102 from TkTech/patch-1

Fix _release_internal