allow logging of exceptions in API handlers to screen/file

with this patch, exceptions are logged to screen/file with the logging module (this allows the developer to see the back trace in the logs for exceptions triggered within his API handler code). Because we log via the "jsonrpc"logger, the user can suppress this logging if they so wish