make file loaders configurable per file extension

Inspired by #17 I decided to implement a file loader resolver. Besides resolving the standard translation file loaders (plus file loaders for the ``.xlf`` and ``.yaml`` extension), users can register their custom file extensions.