SERVER-9149: dropIndexes() checks for parameters

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>