Flake8

Replace pep8 with flake8 to check pep rules, logic errors and unused imports or variables
Ignore F403 error - unable to detect undefined names
Remove unused imports
Specifically ignore the warnings from flake8 for tests/utils/__init__.py. Its bit of a false warning, probably because of the try/except & if conditions
tests/test/acceptance/auto_discover.py - Remove the import that was causing flake8 to warn. Replace with the actual method that is being called thats required for the test.
Setup.py test requirements

If the python version being run is less than 2.7 then install ipython>=0.10,<2 because ipython2 doesn't support < 2.7
Merge pull request #102 from Moustacha/flake8

Flake8