Support for multiple file extension segments
Use the first extension with languages defined
Avoid using singular #extension
Merge pull request #1731 from github/multiple-ext-segments

Support for multiple file extension segments