Print correct type names for non-web form types in 'list' command

Use the human-readable type name from the ItemTypes map
Add function to encrypt main key plus test
gofmt code