Bump content models to 5.4.0
Add handlebars_assets gem

This provides the handlebars.js which is used in
the smart answer builder. 

It's declared here in groups for both assets and 
development as the file could not be required in 
the manifest when only in the assets group.
Add smart-answer-builder JavaScript assets

Change the application.js manifest to use the
require_directory method instead of require_tree
so that the smart-answer-builder directory is not
included on every page request.
Add views for simple smart answer builder.

This includes the appropriate JavaScript, embeds the
Handlebars templates for nodes and options, and 
displays this in a form for editing an edition
of kind "simple_smart_answer".
Bump content_models to 5.4.1
Generate JSON when nodes are changed
Add json getter/setters for nodes
Use the nodes_as_json field in the builder form
Build a smart answer UI using nested_form + JavaScript

There's still a lot more to do with this - particularly
around adding and removing options. 

If you're running this, make sure to use the latest 
branch of content models.
Bump content models to 5.6.0
Use our fork of the nested_form gem.

This adds additional class attributes to be specified
for the semantic_fields_for method.
Nested options can be added to each node.

The select field automatically updates to list the
subsequent nodes available for each option.
Remove Handlebars

We don't need this anymore as we're using nested_form
to build up our nodes and option forms
Add integration test for creating a new edition
Remove the SimpleSmartAnswerEditionTest

We don't have any enhancements for this model
anymore, so remove the tests for them.
Use the slug instead of 'id' for selecting the next node
Tidy up the smart answer layout
Add test for rendering nodes for existing edition correctly

The second test here fails due to an issue we're
looking into which could be a Mongoid issue.
Bump content models (again)
Add failing functional test for Mongoid bug

Here, when you try to remove a node and an option
in the same request, neither get completed.