Add some missing xml dom APIs; remove some IE only ones.
String.Trim with ability to specify trim characters + updated tests