Update dependencies

* Point to updated basket-lib that has had a lot of things pruned
* Add a few things to requirements/dev.txt that had been in basket-lib
* pip install dev.txt in .travis.yml
* switch from pyflakes to flake8 in dev.txt