Switch `detect` to `detect(src)` and add `detectFile(path)`

Closes #2
Remove filesystem features
Replace "javascript" with "JavaScript"
history entry for PR 5