Type selection for Mac.

[ADDED]     Mac: Type selection for site passwords.
[UPDATED]   Type changing refactored to be OS independant.