Updating d3.
Some basic tests and tidying up for the chart library.
More tests, fixes and tidyups for the chart library.
Usage documentation for the chart directive, and more tidying.
Minor test tidying
Add tests for the parsing module.