Add dimension.remove for removing dimensions.

Calling dimension.remove() removes its event listeners and clears its
filters so that it can be garbage collected.  This also removes all
groups associated with a dimension.

Fixes #10.