Revert "All the hooks instroduced in 2.1 don't pass variables by ref any more, while hooks already present in 2.0 will still pass by-ref [Issue #54]"

This reverts commit 99797a97d2b5493a802e8dbc1b5e834bb91929ed.

Conflicts:

	Sources/Attachments.php
	index.php
	sources/Load.php
	sources/admin/ManageLanguages.php
	sources/admin/ManageSearch.php
	sources/controllers/Display.controller.php
	sources/controllers/MessageIndex.controller.php
	sources/subs/Editor.subs.php
	sources/subs/Profile.subs.php
Some other tweaks to the hooks

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge branch 'master' into call_pass

Conflicts:
	sources/Subs.php
	sources/admin/ManageBans.php
	sources/admin/ManageSearch.php
	sources/controllers/Xml.controller.php
	sources/subs/Boards.subs.php
	sources/subs/Members.subs.php
Merge pull request #249 from Spuds/bumpsalongtheway

Cleaning up my repo ... pedantic changes that did not fit elsewhere
Syntax error

Signed-off-by: Engel Nyst <engel.nyst@gmail.com>
Add documentation.

Signed-off-by: Engel Nyst <engel.nyst@gmail.com>
Merge pull request #250 from engelnyst/fix

Fix
Merge branch 'master' into call_pass

Conflicts:
	sources/subs/Boards.subs.php
Merge pull request #235 from emanuele45/call_pass

Call pass
Replacements, Themes -> themes

Signed-off-by: enyst <engel.nyst@gmail.com>
Merge pull request #251 from engelnyst/refactor_fix

Fix for refactoring leftover
Add constants to transform in paths for package installation.

Signed-off-by: enyst <engel.nyst@gmail.com>
! Missing break between sections

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #253 from engelnyst/fixes

Fix package installation
! typo in the required file Attachment.subs is Attachments.subs

Signed-off-by: Spuds <spuds@spudsdesign.com>
! missing txt global in the template

Signed-off-by: Spuds <spuds@spudsdesign.com>
! one more area that needed it to be window.elkVersion

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge branch 'master' of https://github.com/elkarte/Elkarte into bumpsalongtheway