[front-end] add widgetManager and prompt service
[front-end] fixup; remove old and wrong comment
[front-end] move script to bottom of index.html
[front-end] fix layout issues on medium devices; use foundation's medium-classes as base instead of large-classes
[front-end] use foundation switches instead of checkboxes