SHRINKRES-99 SHRINKRES-155 Fixed resources storage in WAR archive

Contains:
* New Resource API - for getting resources out of pom.xml file
* Fixes for SHRINKRES-99