chore(cleanup): Cleaned up JS files.
chore(cleanup): Cleaned up files in mods.
chore(cleanup): Cleaned up core files.

Conflicts:
 - engine/lib/session.php
chore(cleanup): Correction after cleanup modifications to web_services
Merge pull request #6643 from Srokap/pr/6616

Cleanup
fix(thewire): Fix word count JS events tapping

What cause problem?
Arrays not gonna work like that for live()

Ref #6644
Merge branch '1.8'

Conflicts:
	mod/thewire/views/default/js/thewire.php
Merge github.com:Elgg/Elgg