Makes more usage of Rake's built-in features.

Thanks to @avdi and is his incredible RubyTapas:

https://rubytapas.dpdcart.com/subscriber/post?id=289
https://rubytapas.dpdcart.com/subscriber/post?id=290