Allow multiarity version of chart.addBar()

The example in the README now works.
Bump version to 0.3.1
Add the readme example to the test directory