[contacts] Properly specify build dependencies.

DON'T block multicore builds.
[contactsd] QtGui is no longer required. Remove it.
Merge pull request #36 from rburchell/master

Build system cleanup.