DATAMONGO-586 - Next round of polishing.

Refined the way the aggregation pipeline gets rendered into a DBObject.

Open todos:
- more tests!
- JavaDoc
- reintroduce support for raw values