refactor the writer base class to expose a litte more granular functionality
Merge branch 'master' into case-export
add a docstring
Merge pull request #25 from dimagi/case-export

refactor writer class to expand API