Added handling of indexes to FastXml
DomXml handling of non-W3C indexes in selection paths

- Start path indexes at 0 instead of 1.
- Added extra functions to allow W3C compatible selection.
- Tidy up.