Unit tests, a little work on node.js.

- Cleaned up a ton of stuff to make everything work like it is suppose to (with the help of unit tests).
- Added fairly extensive unit tests for values. If something breaks, it will catch it.
- Swapped out mocha for gulp-mocha, added lint for index.js.