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).
js codestyle
changed: csv export window no longer scrolls the page on load, gave odd behaviour when view=csv
fixed: notice in main controller as no cache id created
fixed: csv view not working
compressed js files
fixed: issue when uploading images, deleteing and re-uploading. added logging to store which files have been uploaded
codestyle
added: "is empty" option to advanced search
fixed: elementlist elements: not showing default label option if in readonly. Incorrectly adding default value option to editable values
fixed: list edit links, if ajax links on, was appending &tmpl=component - this should be applied via the js - allowing us to open the link manually and see all of the J site
changed: related data links now use data-fabrik-view=form (or list) to specify that the load in a pop up window. Fabrik.js parses the page for these links and opens them in the same way as the view/edit ajax links
Merge pull request #1066 from Sophist-UK/page_initialisation_improvements

Page initialisation improvements
fixed: csv front end export when group toggleable was creating a js error
set_ini of user agent, sometimes needed when calling file_get_contents on https servers
changed element->buildInput can now render textareas. fixed j editor being loaded needlessly in popup ajax forms (caused squeezebox error)
fixed router to allow for pdf form views when all 3 Joomla sef options turned on
adding row and cell classes to the div list tmpl
lang