PEP-8
Use textwrap.dedent() in tests for readability
Tell flake8 to look inside doctests
Bugfix: appending an entry didn't update total work done

Fixes #28
Make 'pip install -e .' work