Improve fabrik plugin

Use $config for config instead of $shim.
Change page init trigger

Change page init trigger from fabrik.loaded event (which is triggered at
the end of fabrik.js being loaded) to a requirejs so that we can be
certain that tips.js has loaded before initialising tips.

(i.e. requirejs is really a better approach than using the trigger).
Merge pull request #1066 from Sophist-UK/page_initialisation_improvements

Page initialisation improvements