Added .gitignore
Removed deprecated code and fixed up some things to make the tests work with node 0.8.23