WebSubmit: fixed submissions status update
- Function 'print_function_calls(..)' returns the 'rn' variable extracted from the function calls sandbox, allowing to correctly update submission log table (i.e. mark submission as "finished"). Fixes #140.
- Also removed constraint to have 'rn' set to update the submission log table, in case submission does not generate a report number.