Add support for RedHat based distros

Much of the work was done by @ldx on this pull request: https://github.com/garethr/garethr-docker/pull/28

I've fixed a few bugs with the ubuntu support and added explicit handling of epel so the module runs first time. The integration test suite now covers centos 65 and ubuntu.