remove unused import
cleanup crypto_type_name inside CryptMntFtr
convert code to use exceptions
split out master key decryption into separate fn

in preparation for reusing it in the password changing function
pull out default dev name into a constant
add 'decrypt' cmd; refactor some code