FLUID-4939: test case for circular grades.

Added a test case that shows the issue when a component adds a grade, that also contained the component itself as a grade. The init functions here are also fired multiple times.
FLUID-4939: Fix for fresh test case involving circular grade references (which previously had undefined behaviour status), some linting
FLUID-4938: First pass at adding a sliding toggle to the Fat Panel. The implementation is not quite valid as divs can not reside inside labels. This should be changed to spans instead. Also the positioning and visibility of the original checkbox needs to be fixed.
Merge branch 'FLUID-4938-heidi', remote-tracking branch 'heidi/FLUID-4938' into FLUID-4938-heidi
Merge branches 'FLUID-4938-heidi' and 'FLUID-4938' into FLUID-4938
Merge remote-tracking branch 'amb26/FLUID-4939'

* amb26/FLUID-4939:
  FLUID-4939: Fix for fresh test case involving circular grade references (which previously had undefined behaviour status), some linting
  FLUID-4939: test case for circular grades.
FLUID-4908: Fixed the failing FullPreviewUIOptions-test.html to replace the use of the setTimeout in wait of toc rendering with registering the listener to a proper afterRender event.
Merge branch 'master' into FLUID-4908
FLUID-4938: Added header to the table of contents option panel. Changed the divs to spans so it will validate. Still have an issue with focus not applying when checkbox has focus.
Merge branch 'FLUID-4908' into FLUID-4927
FLUID-4938: Added cross-browser styling for the toggle knob. Moved to label sibling to checkbox (checkbox no longer a child of the label.
FLUID-4938: Changed font colour to white when TOC checkbox is checked.
FLUID-4927: Added the html file for settings panels unit tests.
FLUID-4938: Removed some old unused styles.
FLUID-4927: Added uiOptions tests for non-default uioptions.
Merge branch 'FLUID-4938-jon' into FLUID-4938

Conflicts:
	src/webapp/components/uiOptions/css/FatPanelUIOptionsFrame.css
FLUID-4938: Updated prefiexes for table of content style names.
FLUID-4938: Merged jon's
Merge remote-tracking branch 'jon/FLUID-4938' into FLUID-4938
NO-JIRA: Merged with heidi's branch.