This page seems to have the info you're looking for.
http://www.asp.net/hosting/tutorials/processing-unhandled-exceptions-cs
Essentially, when an exception bubbles up to to the runtime it gets wrapped in an System.Web.HttpException
(This was wrong. At least I didn't see this behavior in MVC 3).
I'd think you can extend that class and override GetHtmlErrorMessage to return whatever extra data you want.
Update: Well, with a little experimentation it appears I'd be wrong. BUT there is a workaround...
You can write the info from the exception in any manner you choose then clear the error and you'll have what you want returned.
Something like this...
protected void Application_Error(object sender, EventArgs e)
{
var context = HttpContext.Current;
var error = context.Server.GetLastError();
context.Response.Write(error.Message);
context.Response.Write("<br /><br />");
context.Response.Write(error.StackTrace);
context.Response.Write("<br /><br />");
context.Response.Write("Hello World");
context.Server.ClearError();
}