Add QtTesting support to MongoChem

This adds support for using the QtTesting framework to run GUI
tests for MongoChem.

One simple test was added which queries the database for a molecule
and attempts to open its detail dialog.

Also updates the RPC tests to work on the CDash@Home machines.

Change-Id: Ied48ad892970d3ed19c3b86b1b7687e896a8fc6a