remove storage engine dependent code and tests

Any code that depends on system.indexes or system.namespaces may fail
under new storage engines that don't provide those views.

Fixes include:

- GridFS no longer queries system.indexes
- safe => 0 tests changed from using system.indexes to running under
  authentication in devel/t-dynamic/AUTH-op-errors.t
- other engine-dependent test code rewritten