Add line length checking to flake8.

Throws warnings at 150 characters. Anything beyond that
in a python file is a bit over the top.

Also clean up the grants data a lot.
Merge pull request #1216 from pmclanahan/add-line-length-check

Add line length checking to flake8.