Add support all Foreman-1.4 features

* Add support for all Foreman-1.4 features
* Fix deprecation warnings when using include_class in rspec-puppet tests
* Use 'verify_contents' to check file contents in rspec-puppet tests for hopefully simplified readability
Rake dependency based on ruby version