use current_templates helper instead of SlideTemplate.all
New style hash
A simple svg for testing SlideTemplate svg generation
Clear flash after rendering it
Redirect to edit after creating a new template
Since the user needs to select the field order and editable status for fields next redirecting
to edit page instead of show makes way more sense
Clean up presentation.to_hash

Previously we depended on bunch of helpers to generate almost exact sql, now we chain them
also we insert the presentation datapoints into the slide hashes locally instead of selecting them and dealing them in the slide.to_hash method.
Comments style changes
Use standard validation for effect presence

Previously we had a custom validator instead of using the framework way of doing it.
Add descriptions to fields in templates#new
Allow setting do_overrides

We accidentally forgot to whitelist this..
Whitelist parameters for create and update

We were still in rails 3.x territory here
Do not set flash when rendering only js in update

Setting the flash in js format responses causes it to render on next page load...