Add classpath module location

Converts XD_HOME to expect a resource prefix. Tested with poster
and batch job. To create your own XD package with custom modules
depend on DIRT and then add modules/* to the classpath.