Fixed toc edge cases;
Added tests for the edge cases;
Added more test cases;
Fixed toc edge cases;
Added tests for the edge cases;
Added more test cases;
Added whitespaces;
Merge branch 'DAR-2614-toc-skipped-heading-levels' of github.com:Wikia/app into DAR-2614-toc-skipped-heading-levels

Conflicts:
	extensions/wikia/TOC/js/modules/spec/toc.spec.js
	extensions/wikia/TOC/js/modules/toc.js
Added whitespace;
Missed one;
Replaced TAB with space after var;
Added whitespace between []
Init the var in the loop;
Merge pull request #1962 from Wikia/DAR-2614-toc-skipped-heading-levels

DAR-2614: TOC: pages that start without an H2 have broken TOC levels