Log rhino exception with info of the file in which the exception occurs.

Currently, ScriptableFuture ignores the file info. This patch makes
ScriptableFuture log the info to help debugging.
Change logging level to debug on dev mode.