Improve compact, status and version functions

   * Block compact function until the end of compaction :  ( check with _active_tasks API of couchdb, check every 500 ms)
   * Change order in status
   * Add indexer in versions and versions-all functions