Renamed TitleQuery to BaseQuery
Replaced custom test matchers with hamcrest matchers
Avoided null in xml conversion
Replaced xml pattern parser in Allpages

Task: #12