Fixed response headers in dry_run

The headers returned in dry_run were not in correct format. This PR should fix tests failing dou to that issue.
Travis CI was configured to run tests for PRs.
Theoretically ~> 1.6 would allow 1.6.1 and 1.6.2, not sure if that can happen.  I just copied that from Foreman