Add the qmlcontacts test back to the set of auto tests

The qmlcontacts test was previously removed from the set of executed
auto tests. This change adds it back to the executed list.

Skip jsondb-dependent tests if the jsondb components cannot be loaded,
and update some of the tests to do something sane.  Some particularly
odd cases are now marked with expectFail, as I have no idea why they
might have ever been expected to pass.

Change-Id: I391edcecb93e0ad50122e9adbf6a6af6da8c0ec7
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>