Added preconditionFailed helper
Changed content type on response to be property of headers
Wired processor chains into resoruce handler
Fixed all errors after processor migration