fixes #2127: added support for root password hashing other than MD5

This is an alternative (to https://github.com/theforeman/foreman/pull/1736) implementation. Instead of having a global setting, a per-os attribute has been introduced. 
I'd name this `grub2_passwd_crypt`. Because grub3 will likely use SHA I guess. Note the passwd (typo?).