use OMAP to store dirfrags

compare to https://github.com/ceph/ceph/pull/992, this one includes following changes
 - add a parameter 'nullok' to the 'tmap->omap' conversion function
 - add unit test for OSD_OP_TMAP2OMAP