Move some code from the object model to Utils.

We need that in other models like the signal history one.
Improved QMetaMethod display, includes argument names and return type now.

Requires some extension on the method model though to prevent the return
types from messing up alphabetical sorting.