log_error method now supports thin 1.6

also avoid raise Exception in iRods lib, use StandardError instead, so
it won't go to Unexpected error handler in thin.