Housekeeping and tests for salt.modules.parted

Addresses issues #15948 and #15950. Also the first pass at some unit tests for this module.