JC: added wf_event to model for wf validation. Added @erb_code to controller for data failure. Fixed a wrong argument name for wf validate string. Added spec for wf data failure. spec passes.