BugId:68768 PER-107 Back to Roots commit

Changes include:
* removal of F::build from most of the code
* (same-wrapper)wfFunction to wfFunction
* removal of RegisterClass in favor of directly adding to autoloader
* changes to EditPageLayout to allow it to work without F::build that keeps singletons
* changes to JSSnippets so that it works without F::build that keeps singletons
* changes to JSMessages to static function to save object construction time
* change runFunction wrapper to directly running functions
* small bugfixes for code touched with this change

Benchmarks show improvements in the range of 2-4%.
Merge branch 'dev' into back-to-roots

Conflicts:
	extensions/wikia/ArticleComments/classes/ArticleCommentInit.class.php
	extensions/wikia/FilePage/FilePage.setup.php
	extensions/wikia/FilePage/FilePageHooks.class.php
	extensions/wikia/FilePage/VideoPage.php
	includes/wikia/services/WikiaFileHelper.class.php
Fixing mismatched wfProfileIn / wfProfileOut
Fixing $this reference in function called in static env
Porting MessageWall hooks to MW hooks handler
Porting remaining Wall hooks and Wall Notifications hooks
Porting Forums hooks to MW hook handler
Porting CategorySelect hooks to MW hook handler
Ab testing hooks changes
Porting AdEngine2 hooks to MW hook handler
Porting general functionality to MW
Merge branch 'dev' into back-to-roots
Merge branch 'dev' into back-to-roots

Conflicts:
	extensions/wikia/AutoCreateWiki/AutoCreateWikiLocalJob.php
	extensions/wikia/CreateNewWiki/CreateWikiLocalJob.php
	includes/wikia/services/WikiService.class.php
Porting RelatedVideos hook handlers
Porting EditPageLayout hook handlers
typo
typo
Porting FilePage hook handlers
Porting ImageLazyLoad, ImageTweaks, ParserSpeed, UserLogin, VIdeoHandlers hook handlers
Fixing RecentChanges case to prevent autoloader from failing and doing a 2nd lookup