Accept kwargs for request functions

kwargs now made passable to request functions so that lower-level
python-requests interface can be fully utilized.

This would be good to merge in since the 'Content-Type: application/json'
header needs to be passed to the requests interface using the keyword 'headers'.
Currently the request functions which send JSON data, for example, 'put', are
rejected by Gerrit because of this.