Display context without rak

I started this because I wanted to avoid a dependency on rak, but it turns out this fixes some bugs too:

* `FC011: Missing README in markdown format` isn't displayed by rak because it doesn't exist.
* When not run in a tty, the rak output is missing warnings and garbled.

This replicates rak output, and isn't significantly more complex. The algorithm is fairly simple.