TRUNK-3889. Pickup module resources from module api

Deprecate log4j setter/getter in Module
Merge pull request #778 from NameFILIP/TRUNK-3889

TRUNK-3889. Pickup module resources from module api