Create detect distro

source: http://danielgibbs.co.uk/2013/04/bash-how-to-detect-os/