Refactor navigation through diffs
refactor so that this can be used either in bulk or by ajax.py when one new change is made.
run lint after each save.
Add pylint as a requirement