Sean Farley <sean@farley.io> [Fri, 09 Jun 2017 13:39:13 -0700] rev 32784
context: add convenience method for returning a memfilectx from a patch
This is mostly a copy of what makememctx does but refactored to make it
behave more like our other convenience methods.