change jlapi to Python-like style in which NULL is returned on exceptions, and a separate jl_exception_occurred function retrieves the exception
Merge pull request #2755 from stevengj/jlapi_except

RFC: change jlapi (external C API) to Python-like exception-passing style