utility methods in GroovyInitListener for extracting facet packages from web.xml