Adds (removes) class 'cms_toolbar' to HTML when CMS Toolbar is shown (hidden)

This allows CSS designers to expand collapsed sections of the page as appropriate for using the on-screen CMS controls.

Also, added radix parameter to Math.parseInt() usage.
Adds class 'cms_toolbar-switcher' when the edit switch is ON

Aides page CSS designers to best present the page for editing.
Merge pull request #1707 from mkoistinen/develop

HTML classes added when cms_toolbar and switcher is ON