Integrate with gatekeeper

This also fixes a number of bugs revolving around next() not getting called on http methods.

@jh-bate Can you look this over?  I'd like to get started deploying the new gatekeeper stuff today and this is second in line for for the deploy strategy...