Flake8 cleanup.
Update requirements and test versions.

- Update nose and mock.
- Add flake8 to dev requirements.
- Add Py33 to tox and travis.