Export mapSourcePosition so that it's possible to use externally.

I've found mapSourcePosition very useful in my own custom exception handlers, it'd be great if this could be exposed.