Add support for `tree` and `ls`, deprecating `keyPrefix`

This commit also removes the TemplateContext Evaluator, since it was an additional layer of unneeded indirection.

/cc @ryanuber