Added further code to properly register resource factories for
additional file extensions.
Merge pull request #53 from chseidl/master

Improved Implementation for additionalFileExtensions Option