The bulk of inline definition functionality, some styling, adding environment var

@cmc333333 @khandelwal I added an ENV setting. setting ENV = 'dev' in local_settings.py will generate the HTML to use the uncompressed JS source.

Definitions:
active state and styling
remove inline interpretations
reworking general app flow, add views for layout elements as we now know them