Allow templates in ansible_sudo_pass inventory var

Template ansible_sudo_pass the same way we template ansible_ssh_pass.
Fixing whitespace
Merge pull request #5714 from eggsby/patch-2

Allow templates in ansible_sudo_pass inventory var