cleaner backtrace in specs
add test that page query param will be overriden
prevent tampering with host, port, protocol

Prevents :host, :port, :protocol settings get inherited from GET query
parameters.

Fixes #285
Fix `script/test_all` to exit with nonzero status on failures

Fixes #387
Ruby 2.1.1 compat for tests
Bump Rails in tests to 4.0.5
Merge branch 'master' into rails41

Conflicts:
	Gemfile
	Gemfile.lock
	spec/view_helpers/action_view_spec.rb