fix method callback initialisation

QMetaObject and QMetaObjectBuilder method
ids are incompatible as QMetaObject includes
ids from parent object (QObject).

The fix looks up the QMetaObject method id
using the callback signature as it was used
to build the method.
remove redundant checks
fix memory leaks when throwing exceptions in callbacks
ignore leaks in qt metadata