swap type needs enhanced logic

The script in its present state cannot determine about validity of swap mounts and hence reports an error every time about type swap partitions listed in /etc/fstab. swap type partitions are supposed to be defined in /etc/fstab .
Merge pull request #505 from new23d/patch-3

swap type needs enhanced logic