added function to ensure a set of defaults is included into an options object

This allows a render function that is reusing other visualization rendering function to make sure that the dependent defaults are being included correctly.

Fixes #193