Add tests for Vector#view
Add sinon.js devDependency for spy testing
Uses sinon.js spies for some of our tests