cleanup code for RecoveyMessages

@liewegas, log time ago i sent first patch but it don't merge into master(i think it's my fault, see this https://github.com/ceph/ceph/pull/2151).  Send again.