[merge third] Move smartdown adapter logic to the gem

Interaction between the smartdown gem and the smart-answers frontend application used to be part of the smart-answers application. This meant that concerns such as deducing whether we were on a question page, coversheet or outcome depending on the presence of specific nodes, or figuring out what the title for each question was from the markdown was done on the frontend side. 
This PR removes the code from the smart-answer application and moves it in the gem. 
Thinking something like:

```
def initialise(smartdown_input)
    @smartdown_flow = Smartdown::Parser::FlowInterpreter.new(input).interpret
    @engine = Smartdown::Engine.new(@smartdown_flow)
end
```
Called by 

```
coversheet_path = Rails.root.join('lib', 'smartdown_flows', @name, "#{name}.txt")
input = Smartdown::API::DirectoryInput.new(coversheet_path)
Smartdown::API:Flow(input)
```

Assuming input still has scope of 'name', if it's used anywhere else.