Fixed #830 - Multiple extensions

This PR add the ability for a package to register an extension with some dots such as `.coffee.md`
See #830