Various cleanup

- made the example the example on d3.chart's homepage for the comments and ease of transition.
- added jshintrc
- added Function bind shim for headless testing in phantom
- renamed files
- probably some other stuff.