PBR-570 BZ1162145 - Added special handling for exceptions in RenderResponse phase

When an exception occurs and the response was already partially sent, reset the buffer and set the bridgeContext to look for a redirected view, which is an errorView at this point.
PBR-570 BZ1162145 - Check for committed responses before resetting the buffer.
Merge pull request #16 from jpkrohling/JPK-PBR-570-HandleExceptionInRenderResponse

PBR-570 BZ1162145 - Added special handling for exceptions in RenderResponse phase