3.0 - Better magic property hint baking

For controllers the table property is missing a leading namespace separator, and components do not have any namespace at all, and using the plugin syntax creates hints like `Plugin.Component $Plugin.Component`.

This patch attempts to implement some kind of resolving, where default locations are assumed, that is either `\App\Controller\Component`, `\Cake\Controller\Component`, or `\Plugin\Controller\Component`.
That was actually one of the deficiencies in earlier versions, lots of information was never really available in custom templates, even thought it would have been both useful and easy to do so.