Adding coveralls for a published view of code coverage pushed out form build.

Adding coverall coverage badge for quick coverage and link to metrics on coverall.
Merge pull request #12 from travisjwarren/master

Adding coveralls for a published view of code coverage pushed out form b...
Moving result from function based view to class based view.

Adding new mix in for authorisation checks.  This is to allow a more flexible approach to authorisation in the future.

Also update template to use context object for data.  UX improvement to warn user if no result have yet been recorded against a temp.

Adding coveralls for a published view of code coverage pushed out form build.

Adding coverall coverage badge for quick coverage and link to metrics on coverall.
Adding tests for submit function based views.

Requires addition of mock library to remove difficulty of manipulating sessions in django test client.  This allows me to mimic the behaviour of a user session in the submit view for an existing survey response.

Have added tests around form validation rules.