XD-713 @Configuration modules!

Adds support for JavaConfiguredModule. ModuleFactoryTests loads an uberjar built as a separate project. The module project zip is also included for reference. 

2nd commit addresses XD-1085 (groovy modules) - added to this PR because I updated ModuleFactoryTests which is new in this branch.
... but I'm not sure I understand this value either:
 - the "standard" modules directory is named `modules` (with an s) and is not on the classpath of these tests, if I'm not mistaken
 - there is no `module` directory in `src/test/resources` and friends

The fact that the previous value was wrong makes me think this actually isn't used, is it?