Test suite

Here is the beginning of the test suite.

There is a new option to run printerd on the session bus, and a new session bus is launched to run printerd on for the duration of the test suite run.

In addition, this branch makes printerd run correctly on glib2 < 2.36, something which was found from Travis CI runs, and fixes some small bugs that were found while writing tests.