add npm test
support last() by tracking nodes local context
Merge branch 'master' of https://github.com/yaronn/xpath.js