Pin Rake for Ruby 1.8.7

The latest Rake update requires Ruby >= 1.9. This update
fixes the failing 1.8.7 tests by pinning Rake to the last
supported version on ruby 1.8.7.
fix puppet-lint warning