More testing and more bugs found and fixed.

pkppln_sword_server.py

* insert_deposit() had hard coded 'add' as the action, and ignored the action parameter.
* insert_deposit() had a mysql.commit() in the wrong place. Moved to after the call to insert_journal() so that everything would be rolled back if the journal insert failed.
* edit_deposit() incorrectly passed 'add' as a parameter. changed to 'edit'.

staging_server_common.py

* insert_journal() was missing commits and rollbacks. Fixed.

test_sword.py

* tests now create their own fixtures, rather than requiring they be loaded from the database.
get the travis config updated. i hope.