make emitSignal a global function in qtjs api
remove non-working api

QArgument takes const * address and which is used only later when
invoking the method. As cpgf uses shadow copy for strings which are
deleted once the method returns, QArgument instances are broken -
the referenced char * is already deallocated.
keep build directory as cpgf manages it