Introduce QuerySelector and Trim Parameters

Query Selector for XmlNode because SelectSingleNode is only available in IE
Trim with Paramaters to behave more like in .Net and also fixed compatibility to IE8

Sorry for the messy History, couldn't quickly figure out how to branch after work was done