Fix for issue #233: accomodating for install_repo, with specs

Updated module to reflect $sensu::install_repo when setting the package dependency. Included spec tests as well. Successfully tested on Centos 6.4 vagrant box.