closes #870: provide a public API to generate figure filenames so users do not need to hard-code them
add some tests for fig_chunk()
a news item for #870
roxygenize
bump version