ISSUE #9: use name if available in pom.xml, otherwise artifactId

factorise code retrieving the text of an XML node in a pom.xml file
modify xml parser command to support non existing node without displaying a warning message, works with xmlstartlet, must be tested under mac