adding mongodb persistence to distribution
Merge pull request #1001 from taimos/persist-mongodb2

adding mongodb persistence to distribution