Substituting BaseResourceExtension with the plain resource

It was generating the same class regardless of the models, so it makes sense
to just make that class part of the codebase and remove the extension.
small refactor of the ExtensionFactory

This way third parties can setup their extensions at will
find with sorting for the Resource

It depends on a dev version of Mongator. Will change composer.json in the future
Ignore vim swp files