[Linter] Only allow certain extensions for license files

Closes https://github.com/CocoaPods/CocoaPods/issues/2407

For now, only files with no extension or .txt, .md, or.markdown extensions are allowed