Add support for CentOS

What it says on the tin. Large change. The failures in travis seem to be a problem with my use of rspec-puppet and functions. Not sure how to fix those (but they should be fixed, it works in the wild).