Fix problem with JSF ajax and onbeforesubmit.

On previous JSF versions, onbeforesubmit was able to cancel the request and revert all fields to their original state. Not so much in Richfaces 4, where the reversal has to be done manually.