Full stack source extract

This adds the ability to view code from the entire stack trace in the error page. 
Thanks for spotting this Robin!

I guess we overlooked the text version of the exception handler. Let me take look at it now.