spacemanager: Make changesets drop indexes conditional

This protects against sites that have made local modifications
to the schema (like NDGF).

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6482/