repayBorrow with cTokens

Interesting, thanks @pyggie, I think extending it to liquidateBorrow makes a lot of sense. Sorry for the bother but could you please copy-paste your response to this other thread:

I accidentally made duplicate threads. Since the other has more discussion I have asked mods to close this one. Thanks and sorry for the hassle.

Readers: don’t reply here, reply at the thread linked above ^