More charts test coverage.
Merge branch 'moretests' into dev-3.x

More charts unit tests.
Install `grunt-cli` in devDependencies.

The `grunt` bin is provided by `grunt-cli`.
We need that bin in our postinstall script,
so locally install it for use on CI systems
that do not have a globally-installed grunt.