TRUNK-3889. Pickup module resources from module api

Change the code to load resources from an api jar.
Remove log4j support from the module.
Add unit tests