API for getting symbol at location

This commit provides an API for getting the symbol at a specific
location in a file. It introduces an implicit value class that
is used to add functionality to the presentation compiler.

A small test case has been provided

Fixes #1001662