jata: Add identify availability, and bad sector count

Add the stubs and implementation to determine whether the availability
of the drive is known or can be determined. This also adds the stubs
and implementation for finding the number of badsetors in the drive.