make @interactive decorator friendlier with dill

sets the decorated function globals to main, in addition to just the module name.

This helps dill treat it as if it were defined locally, and the function actually behaves the same locally as it does on engines.

Still can't test the dill behavior due to the side effects it has on other tests.