Integrate with gatekeeper

This also fixes a number of bugs revolving around next() not getting called on http methods.
Fix tests and jshint!
Merge pull request #20 from tidepool-org/cheddar/gatekeeper

Integrate with gatekeeper