util/scopes: new package for extracting the source code scopes visible
from a given source location.