Add `Registry.prototype.extensionsForType`.
Merge pull request #2050 from rwjblue/extensions-for-type

Add `Registry.prototype.extensionsForType`.