Check if accessor matched request method.

It's easier to find errors in the code if an exception is thrown.
Add patch method to OC_Route
Add interface docs to IRequest.
Implement PUT an PATCH support
Check if accessor matched request method.

It's easier to find errors in the code if an exception is thrown.
Add patch method to OC_Route
Add interface docs to IRequest.
Implement PUT an PATCH support
Add assertions for ->params and array access with json
Remove JSON request parsing from Server
Merge branch 'enhance_request' of github.com:owncloud/core into enhance_request

Conflicts:
	lib/appframework/http/request.php
	tests/lib/appframework/http/RequestTest.php
Remove getContent() from IRequest
Check if accessor matched request method.

It's easier to find errors in the code if an exception is thrown.
Add patch method to OC_Route
Add interface docs to IRequest.
Implement PUT an PATCH support
Add assertions for ->params and array access with json
Remove JSON request parsing from Server
Remove getContent() from IRequest
Merge branch 'enhance_request' of github.com:owncloud/core into enhance_request