Extra context: API + CLI

Fixes #12
Synthesizes parts of: #75, #100, #116, #161 and #199.
Thanks @fcurella, @aventurella, @emonty, @schacki, @ryanolson!
I think this is out of scope too. Not sure exactly what this does...a docstring would help but we can address this later in #273.