Modified spec for exceptions raised by parsers

After these changes FailParser always raises a StandError. In this case we verify if the exception causes :on_failure callback to be called, not just if the :on_failure is callable from the parser.

Also extracted parser failure handler to a method.

references #159
references SHA: 324d45db9e2dd11aa5fab7bf5af0e299d3a881d4