Wrap evalresp functions in setjmp using C.

This should correctly handle errors when evalresp calls longjmp.
Turn evalresp errors into more specific exceptions.

Probably some of these could be changed to be more specific...