Add build and wait for deferred N1QL indexes
Rollback the changes introduced by release 2.0.1 to ignore Build Already In Progress
error. And introduce two new methods to solve correctly this issue:
- Couchmove#buildN1qlDeferredIndexes(): Trigger the build off N1QL indexes marked as deferred
- Couchmove#waitForN1qlIndexes(): Wait for all N1QL indexes to be ready until the timeout is expired
The combination usage of these two methods will solve effectively deferred indexes build.