Added convenience methods from OC_Response

I quickly found out I needed something more from the response class.
And I took the liberty to correct some coding style issues while at it :)