WAB Extender: Process declarative references in web.xml, liferay-portlet.xml, portlet.xml and liferay-hook.xml