Extra context: API + CLI

Fixes #12
Synthesizes parts of: #75, #100, #116, #161 and #199.
Thanks @fcurella, @aventurella, @emonty, @schacki, @ryanolson!
While switching from an `if` statement to `all()` is an interesting approach, I have to admit it's not related to the rest of the pull request.