Added commands for integration test environment
Added reference counting to CalibreThings, so that they can be deleted automatically.
This should reduce the connections between both databases.
Added author note and link functions to library.
Moved language specific messages to a YAML file for easier editing. The PHP file will be generated by a Rake task.