Correctly handle .pyc and .pyo files when exec'ing the sandbox rlimiter.
Fix PEP8 errors.
Factor script_name calculating out into a class method so it can be easily tested.
Merge branch 'feature/issue-630-fix-rlimiter-exec-filename' into develop