Percolation inhibits mapping creation

If a document is percolated, the mapping service is updated while the
document is parsed. The cluster state is not updated with the new mapping.
If the same document is then indexed, the mapping is therfore not created.
More explanaition in the test.
This is similar to issue #5623