Added a test for valid position ratios in the image test suite
Added pep8 and pyflakes checks to Travis and vagrant install, corrected errors reported by pep8 and pyflakes