DOCS-1595 adding table mapping helpers to their javascript equivalents

Signed-off-by: Sam Kleinman <samk@10gen.com>
DOCS-1639: adding docs of process to convert master-slave to replica set

Signed-off-by: Sam Kleinman <samk@10gen.com>
DOCS-1639: edits