Cleanup module code generation, fix importer dependency issue

- Added molgenis options and update molgenis options in modules to reduce the generation of  unneeded classes.
- Fix importer depencency issues, use singeltons and registration in the FrontController to simulate autowiring. Refactor code to achieve this.