pep8 updates for Plasma

Changed Plasma files as little as possible. Only updated deprecated
usages and cleaned up style. Fixed reversed logic typo in xEnum.py