Added flake8 & package caching to travis build, added flake8 settings to setup.cfg