Also work for head requests

According to spec headers for GET and HEAD request must be the same.
changed &lt; into >
Update request dependency to fix qs vulnerability
Merge pull request #38 from scottcorgan/master

Update request dependency to fix qs vulnerability
bumped to 1.0.6
Adding a setter for "host" to allow forcing the host value in buildApiUrl.
Fix express deprecation and unit tests.
This resolves issue #42.
As part of fixing the unit tests, I also implemented the use of the Sinon sandbox.
It's way easier to just restore the whole sandbox in your afterEach, as opposed to remembering to restore each mocked function.
Merge pull request #45 from jprystowsky/master

Adding a setter for "host" to allow forcing the host value in buildApiUrl
Merge pull request #47 from blimmer/feature/fix-express-deprecation

Fix express deprecation and unit tests.
Merge pull request #37 from JeroenNoten/master

changed &lt; into >
Merge pull request #34 from Janpot/patch-1

Also work for head requests
bump version to 1.1.0
add slackbot to crawler user agents
Merge pull request #49 from samuraisam/patch-1

add slackbot to crawler user agents
bump version to 1.1.1
Added handling in beforeRender hook for caching of status as well as body
Added a test for an object in the cache
Added default values for cache objects read in beforeRender.\nUpdated README.md to reflect changes and add warning about caching temporary statuses.
Make it work with node v0.11.4

The query seems to be null when there is no query string in the url in the next release of nodejs.
Always pass User-Agent and Accept-Encoding