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.
Merge pull request #13 from travisjwarren/master

Moving result from function based view to class based view.
Merge remote-tracking branch 'upstream/master' into increase-coverage

* upstream/master:
  Adding tests for submit function based views.
  Moving result from function based view to class based view.

Conflicts:
	teamtemp/tests/views/test_admin_views.py