Add many more features to xpath

This provides a much more thorough coverage of xpath functionality, including the ability to retrieve attributes and text, and execute most functions, and more. The README is also updated.

Tests are still needed -- I was concerned that the copyright on the microsoft file may not be appropriate for inclusion here. Thoughts?