cleans up code in src/pyphant/pyphant

fixes
* whitespace
* blank lines
* imports
* long lines (mostly)
* mutable default values
* typos

adds some comments

ignores: tests and copied external libraries
(quantities, singleton, bottle)

All unit tests still pass and the GUI still shows up.
More testing is needed for the GUI though,
when the cleaning up has finished including the toolboxes.
cleans up code in src/workers

fixes
* whitespace
* blank lines
* imports
* long lines (mostly)
* typos

adds some comments

ignores: tests

All unit tests pass and all workers can be loaded in the GUI.
The parameter dialog shows up for all workers.
Functionality of the workers not covered by unit tests has not been tested.