Prototyped xml lib

Need better node.js env check (or just specify it explicitly)
Sample travis file
Fixed JSHint and updated xml.js and test/docs
updated package.json
Merge branch 'dmitry-xml'