Updates code to use XML package 

Updates code to use XML package (https://pub.dartlang.org/packages/xml) and removes direct dependencies to PetitParser.