added --only-files option to specify specific paths to scan
added test for --only-files and --skip-files options
refactor selecting paths so it works in 1.8.7
Merge pull request #316 from ehlertij/only_files_option

Added --only-files option to specify specific paths to scan