configurable checkpoint interval

BugzID: 20442
Merge pull request #35 from cloudant/20442-configurable-interval

configurable checkpoint interval