Fix created as per Issue 853.
Adjust fix to cope with non-root J installs
Simplify defines

Change to use better Joomla calls which have true root and avoid
removing /administrator (which may have been changed by some J security
extensions).
Clean use of COM_FABRIK_LIVESITE

Remove double /.

COM_FABRIK_LIVESITE has a trailing slash, so appending string should NOT
have a leading slash.
Fix string name in form rest plugin
Make copyright/license consistent in libs/mods

And add defined or die where missing.
Make copyright / license consistent

Add defined or die where missing.

Admin php-files.
Make copyright/license consistent in component php

And add defined or die where missing.
Improve eval error messages

Provided improved eval error messages.
Add Copyright to JS files
fixed php error in dbjoin element - incorrect use of $this is static method
changed: cdd rendered as autocomplete - when its observed element changes - remove previously selected values, and dont set current value to the last option
cdd as autocomplete on edit record not working
Merge pull request #877 from Sophist-UK/copyright_js_files

Add Copyright to JS files
Merge pull request #874 from Sophist-UK/improve_eval_error_messages

Improve eval error messages
Merge pull request #869 from Sophist-UK/add_copyright_php_admin

Make copyright / license consistent.
fixes #864 - JS events on elementlist types (checkbox) were being added for every repeated element, but as they are delegated they should have been added only once
copyright notices
Merge pull request #868 from Sophist-UK/fix_form_rest_plugin_string_name

Fix form rest plugin string name
Merge pull request #872 from Sophist-UK/add_copyright_misc

Make copyright/license consistent in libs/mods