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