WikiaMobile: Fix toc
Some more fixes and actually letting checkHeader to be optional
Update docs and code style fix
Merge pull request #2406 from Wikia/WikiaMobile-TOC-fix

WikiaMobile: Fix toc