Added convenience methods from OC_Response
Send status header if set.
Rename $name -> $error
Use Request object and uodate doc strings
Fix namespaces, adjust tests and App.
made caching methods easier
made modified method easier
split switch into classes
use factory to get http protocol
set cache on response
set status in app.php
remove hard dependency on request class from cache
move status setting into http class
dont break if cache policy is not set
use single class for http
use constants as keys
remove sabredav code
use datetime for lastmodified
tests for dispatcher and app
fix responses