(#3) Add function to determine distro

This commit modifies the install script to check which OS distro you are
using by checking what package manager is available. At the moment, this
funtion only checks for yum or apt-get.