Add definitions for the "xpath" npm module

This PR adds a definition file for the "xpath" module in npm.  http://npmjs.org/package/xpath

Tests are included and the definition has JSDoc comments explaining the API.