PSR style changes and some cleanup for better readability
Merge branch 'lib.php-cleanup' of github.com:rarila/bolt into rarila-lib.php-cleanup

Conflicts:
	app/classes/lib.php