Repository Pattern and utilities for Microsoft's DocumentDB