setup rspec

the rspec setup is broken, see the docs and the errors for how to fix

https://github.com/rspec/rspec-rails

it will also be necessary to add rspec to the jenkins test run. probably
by adding it to the root rake task
Failing tests for user may deploy based on the permissions array
update capybara and capybara-webkit

the version of rspec we've introduced requires capybara >= 2.2.0.
fix rspec deprecation warnings by moving to modern style

Rationale for the new "expect" style:

http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
fix test (woo! TDD!)
Run rspecs with default rake task
Tests for deploy user only actions

shamelessly ripped off shared tests code from:

http://stackoverflow.com/questions/14507011/how-do-i-get-rspecs-shared-examples-like-behavior-in-ruby-testunit
All but three redirect tests working

also, if I understand correctly, a post deploy hook is making
deployments. what is the implication for authorization here? will the
deploy permission work for this?
Update readme to run tests with the default task

The default task runs specs and tests.
Turn off rspec warnings
Move readonly filter above find application filter

If the user doesn't have the correct permissions we want to redirect
them regardless of whether the application exists so as to avoid
information leakage.
Actually make use of the github credentials
Hide show page edit buttons

Hide buttons to edit applications or record missing deployments from
unprivileged users on the application show page.
Hide index page edit buttons

Hide buttons that record missing deployments or add application notes
from unprivileged users.
Remove TODO about breaking API

This will be fixed by adding the deploy permission to the API users.
Move user model test to minitest
Remove rspec

The user model tests are now done with minitest.
Merge remote-tracking branch 'origin/master' into readonly-view

Conflicts:
	Gemfile.lock
	app/views/applications/_applications_table.html.erb
Merge pull request #62 from alphagov/readonly-view

Readonly view