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
! debug leftover var_dump

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Use the cache value if its available (missed from previous commits)

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Use the css class not the align attribute

Signed-off-by: Spuds <spuds@spudsdesign.com>
! How did that pesky gif get in there?  Should be blank.png

Signed-off-by: Spuds <spuds@spudsdesign.com>
! The current version and default template checks were not working properly due to variable naming

Signed-off-by: Spuds <spuds@spudsdesign.com>
! minor cleanup of admin js, == => === etc

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Minor cleanup of profile.js

Signed-off-by: Spuds <spuds@spudsdesign.com>
! remove the empty line tabs from topic.js

Signed-off-by: Spuds <spuds@spudsdesign.com>
! allow form text boxes to be wider instead of constrained to 30 cols

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Topics with message approvals were breaking the topic index layout plus lacked color

Signed-off-by: Spuds <spuds@spudsdesign.com>
! missing image file

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Need the line space after the version for the detailed version js to work properly

Signed-off-by: Spuds <spuds@spudsdesign.com>
! classic update for the version check error

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #249 from Spuds/bumpsalongtheway

Cleaning up my repo ... pedantic changes that did not fit elsewhere
Merge branch 'master' of https://github.com/elkarte/Elkarte into PbE
Syntax error

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

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