Better error handling for jsonsl_jpr_new
Better error handling for jsonsl_jpr_new

This allows better error handling and error reporting for cases where
bad paths or found, or on malloc failures.

snej/jsonsl,snej/jsonsl,mnunberg/jsonsl,snej/jsonsl,mnunberg/jsonsl,snej/jsonsl,mnunberg/jsonsl,mnunberg/jsonsl