XD-718 Use ParentLastClassLoader for Modules

XD-720 Add test for module with classpath

Add javadoc

Introduce classpath concept for modules

Actually use a custom ClassPath

Addressed review comments

Add module type in test
XD-718 addressing PR comments on merge