Moves rake tasks out of lib.

This stops flog seeing then, and their being included in the documentation.