[nemo-qml-plugin-contacts] Fix tests

Some recent breakage, plus failures due to hash randomization in Qt5.
Merge pull request #17 from matthewvogt/test-fixes

[nemo-qml-plugin-contacts] Fix tests