first cut at xpath implementation
huge refactoring to support more powerful xpath
updated readme and tests for new xpath stuff