Sort replacements in template to avoid nuisance restarts

Ruby hashes otherwise get rendered in random sequence, causing
Chef to believe the file has changed and triggering unwanted
restarts on provisioning.
Implement the local user aliases recipe