fix formatting issue in reference/method/getMemInfo.txt
style: DOCS-1175 update use of upsert in setOnInsert.
DOCS-1180 fixing title to correspond with method name
fixing title of _srand method