add q_object macro to controllers and fix makefile.pro to handle task controller