Adding functions to install script

* add hook for $SHARE/vagrant.rc to allow for overrides
* move all the actions into functions