Use OGR api tests spatial index availability before build it. The spatial index is built only if it doesn't exist or if force_rebuild option is on
Merge pull request #498 from aurelien35/Features_ForceRebuildSpatialIndex

Use OGR api tests spatial index availability before build it. The spatial index is built only if it doesn't exist or if force_rebuild option is ON