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.
Well, if we're confident this shouldn't happen, I'd Assert.xx() that it doesn't, this is what "assertions" are for, aren't they?