Starting to clean up Document#__update_timestamps
Tighten up flake8 complexity threshold.
Travis should use flake8 settings in setup.cfg