Allowing passing of device name to the unmount related functions.  Per #15650
Merge pull request #16286 from garethgreenaway/15650_device_in_unmount

Changes to mount.py module & state.