Simplify app.rb's main logic to single case

Reads a little better than multiple elsif's and a nested case
Put Outcome::Base in the right module
Merge pull request #34 from alphagov/simplify_app

Simplify app.rb's main logic to single case