Started with implementing Goodbye Spammer

Note: It's very likely that this isn't working as it's a direct port till now and not tested.
ToDo:
Settings and Template names need to be added to the language files
moderation.php needs to be checked
templates need to be cached
templategroup need to be added while upgrading
general code check
Fixed a few issues introduced with the last commit

added template group to the language file
optimised moderation.php
added templates to the templatecache
templategroup is now added while upgrading
Merge branch 'upstream/feature'

Conflicts:
	moderation.php
	showthread.php
Including https://github.com/MattRogowski/Goodbye-Spammer/pull/1
Changed checkboxes to hidden fields
Renamed "goodbyespammer" to "purgespammer". Also removed the (new) templategroup and moved the templates to the "moderation" templategroup
Merge branch 'upstream/feature'
Fixes a few issues introduced with the last commits
Use the new get_input method instead of accessing the variables directly
Top referrer

https://github.com/mybb/mybb/issues/434
Top Referrer

Coding Standards correction.
Fixes #700
Merge branch 'upstream/feature'

Conflicts:
	install/resources/upgrade28.php
	private.php
Fixed a few things:
- reportedposts renamed to reportedcontent
- indent
- some misspelled words
Fixes a few things I've missed with the last commit
Fixed: No content on draft regulations, refs #526

* newthread.php
  * moved initialization of $subject and $message to the beginning of the file
  * removed all case dependent initialisations to an empty string
Fixing #597 and cleaning up admin/inc/functions_themes.php in terms of docblocks and variable/array initialising.
Re-caching stylesheets on upgrade for 1.8 to ensure existing stylesheets get minified.
Fixes #789 Cookie domain suggested wrong with ".dev" TLD
Merge remote-tracking branch 'upstream/feature' into goodbye-spammer

Conflicts:
	images/buttons_sprite.png
	install/resources/mybb_theme.xml
	install/resources/settings.xml
	member.php
	private.php
	showthread.php