implement PurgePolicy to prune data no longer wanted
implement RetentionPolicy to control how historical documents are preserved
Merge pull request #17 from coryb/master

implement PurgePolicy & RetentionPolicy to manage data