Apply MediaWiki Coding Conventions

Validated with jscs 1.6.2, using preset "wikimedia"