Merge changes I7bb0b559,If147df2d,I25d7d590

* changes:
  libsnapshot: Skip initializing snapshot if not created.
  libdm: Fix DmTable::num_sectors
  Fix fds libdm_test