move isodevice detection to main module.
mounting is still done later, but this will enable
it to be filtered out from block device programs.