added grunt. edited js to pass jshint.
removing redundant files
added basic unit tests
fixed path to js in example html
added sinon.js and more unit tests
updated README