Merge pull request #176 from j-xiong/master

prov/psm: cq_write, wait obj, optimized tsend/trecv and cq event allocation