Change HEAD handlers

This PR makes the handlers for HTTP GET also handle HEAD. Also changed the response writer to remove the response body when dealing with HTTP HEAD.

The PR also includes a new Behat feature that deals with HTTP HEAD vs GET.