modify has_filesystem to support more filesystems and to allow second
argument to check for a single specific filesystem.
use has_filesystem from blockdevice to check for existing filesystem
instead of mount test