PDO Transactions

All post methods now use DB transactions and commit the changes on
success.