fix for AssertionError in pyramid

fix for "AssertionError: Transaction must be committed using the transaction manager"
sqlalchemy commits in Pyramid use the transaction manager
Merge pull request #319 from Harz-FEAR/master

fix for AssertionError in pyramid