get_xpi_id without extracting and platform independent mount_dmg 

the new get_xpi_id works without extracting anything. 

the mount_dmg is platform independent, it only takes the path to a .dmg and returns the mountpoint. it does NOT remove the .img. it also doesnt copy anything anywhere, this can be done for both platforms.

the functions are not implemented yet :,(