[contactsd] Move qmake from configure to packaging step, fixing debuginfo.

This uses the %qmake macro which sets up the appropriate cflags etcetera.
Without this, the compiler didn't pass -g, and thus we never got debuginfo
packages.