Match eslint CLI behavior with regard to .eslintrc files in parent dirs
Use eslint API instead of cli
closes #9
closes #11