export EXPERIMENT_DIR too
Import cleanup, move main() to dispersyclient.py (it will have to be
moved to its own place eventually)