implement Detect

Closes #1.
I'm not entirely sure about removing an existing license header. I have seen files with dual licensing, meaning double license headers. I'm actually curious about how go-license handles those cases.