Improves macro expansion stacktraces, closes #2211

We make sure the paths in stacktraces are relatives
and properly point which macros are being expanded.