extract params and header to Grape::Request

By doing this, other middleware can access the params and headers through request, just like the Endpoint class
Merge pull request #392 from niedhui/master

extract headers and params from Endpoint to Grape::Request