[contactsd] Move qmake from configure to packaging step.

This uses the %qmake macro which sets up the appropriate cflags etcetera.