Fix .ruby-version file

The file was misnamed so wasn't having any effect.
Merge pull request #7 from alphagov/fix_ruby_version_file

Fix .ruby-version file
Basic controller to accept a court

Includes a couple of tests for the happy path of a named court. For now,
we're only planning to do the minimum amount of validation necessary to
send the court to the content store.
Fix the capitalisation of the app's top module
Send a court to the publishing API

This is as basic as humanly possible while still sending something valid
to the publishing API (lumping everything into the controller rather
than adding a separate model layer, for example), but it works.
Stop the tests making real HTTP requests

That would be bad.
Require a slug to be present in the request JSON

Return 422 if it isn't present. We need the slug to construct the
base_path for the publishing API.
Require a name to be present in the request JSON

The content-store validates that title is present for renderable content.
Return 400 if the request JSON is unparseable
Include the published URL in the response

We're explicitly calling to_s on the published URL because Rails
serializes it as the hash of its elements otherwise.
Parse request body in a before filter
Switch to Ruby 1.9 hash syntax

This makes the difference between hashes and raw JSON visually clearer,
and also between keys and values in hashes. We're using Ruby 2.1.4 so
there's no reason to use the old syntax.