Allow plugins to participate in object discovery when we don't have hooks.
Move widget-related object discovery to the widget inspector plugin.

Also add support for discovering models from their views.
Add support for QFile[Device] (Qt5 only).