This class is used to define a callback function from source code
present in the XML configuration file. The function is defined in a
sanitized environment (imports are disabled, for instance). This class is
inspired from this recipe :
http://code.activestate.com/recipes/550804-create-a-restricted-python-function-from-a-string/