Updates to xdotool check

Checks whether the shell is a Mac shell, and in this case warns the user they need a linux machine (tested on OSX 10.7).
The script also now tries to give a command to run for the main package managers in Debian and Fedora based distros (apt-get and yum respectively).