added unit test for context manager
updated README with context manager example and bumped version num
fixed tox for testing, removed pep8 unittest and added flake8 stage in tox