Security improvements
This bug tracks improvements to the security for running user algorithms inside the beat backend.
The possible best way to handle this would be with RestrictedPython (see this SO thread http://stackoverflow.com/questions/1350466/preventing-python-code-from-importing-certain-modules).