TRUNK-4350: OpenmrsClassLoader may chose wrong ModuleClassLoader when on...

...e module name is a substring of another module name and there is a period in the name
Could you please comment why you sort class loaders? You could say: "We need to put class loaders for modules with longer package name first to make sure that if a module contains '.' in a name it is considered first for the startsWith comparison, e.g. reporting.ui module will be considered before reporting" Do we have proper tests to prove it behaves as expected?