Lots of general code cleanup. Removed trailing white spaces,
code that was commented out and lots of empty lines.
I've also changed <? to <?php in all files since <? is depracated and
several editors has stopped supporting <? for code formatting.
The code has been formatted to the psr-2 coding standard.
Huge cleanup of the code, merged from branch cleanup

Conflicts:
	classes/class_text.php
	classes/script_start.php
	sections/chat/index.php
	sections/collages/all_comments.php
	sections/collages/get_post.php
	sections/collages/takeedit_comment.php
	sections/forums/get_post.php
	sections/forums/takeedit.php
	sections/forums/thread.php
	sections/inbox/get_post.php
	sections/requests/index.php
	sections/requests/request.php
	sections/torrents/all_comments.php
	sections/torrents/details.php
	sections/torrents/index.php