added pyformat to auto format python code

Formats code to follow the PEP 8 style guide.
Formats docstrings to follow PEP 257.
Makes strings all use the same type of quote where possible.