Make sure copy actions are disabled when database is locked.

Closes #189
Add Travis-CI configuration file.

Add initial Travis-CI configuration file for building this project
through the Travis-CI continuous integration server.