Ensure constraint creation is idempotent from Cypher

o Change QueryContext.addIndexRule and createUniquenessConstraint to return IdempotentResult[V] instead of (V, Boolean)