Add resolver to context.

Added the resolver to the context as a special `$` property of the `$`
context object.

Closes #90.