DATAMONGO-586 - Adjusted examples in reference documentation.

Modified formatting and moved the detailed descriptions below the example code.
Added example for arithmetic operations in projection operations.