fixed page header on corporate wikis after removing $wgEnableCorporatePageExt
added hook method in WikiaHomePage extension to have search in rail module on article pages on corporate wikis
added one more condition for displaying RelatedVideos module in right rail -- if it's a corporate page/corporate wiki do not show videos in the right rail
removed profiler functions -- it does not make sense to have them here
used static method do determinate if it's a corporate page
Merge pull request #820 from Wikia/consumer-sprint42-CON-86

Clean-up after removing part of CorporatePage extension and occurrences of $wgEnableCorporatePageExt