Add rdoc dependency & switch from rake/rdoctask to rdoc/task.

Allows formatador to work with a modern version of rake.
Inject IO dependency, so you can point it at a StringIO instead of
STDOUT.

As of this commit, the specs fail, but we're unclear exactly why.
We suspect it has to do with the Threading.