Expansion of ~ and env. vars. like $HOME

I modified bin/installer.sh to expand embedded ~ and env. vars. like $HOME when it prompts for the Mesos directory in two cases.