Replaced sflakes with tox

Also, added flake checks (previously, there were only pep8 checks) as
well as line length checks (130, otherwise, there's too many corrections
to make at once).