Implement getApplicableElements and appliesTo in Detector.XmlScanner
interface

This detector was not working because it was not parsing the XML file
for permission declaration elements. With these implementations, the
detector is now working properly.