Add tests for new check_path func.
Add check_path() to make sure paths are safe.
Add tests for check_path coping with None.
Expect ValueErrors when detecting scanners.
Fix detect_scanners tests.
Set executable flag in tests.
Do not catch errors in detect_scanners().
pep8, pyflakes.