AckTests: more assertAcked and added common method to retrieve local cluster state
Refactored put mapping api to make use of the new recently introduced generic ack mechanism

Closes #4228