SERVER-11679 extend query planner test for verification of index bounds

Purely a unit test improvement. Adds missing test cases that were tested in the old system's dbtests (e.g. cursortests.cpp and queryoptimizercursortests.cpp).