Tests: Updating qunit markup

Fixes gh-6936
Tests: Formatting according to style guide
Demos: Give each flipswitch a unique ID

Fixes gh-6956