Updates mercurial config and adds ability to use .profile for machine-local prefs