Include full url in email for 500 errors

Fixes http://manage.dimagi.com/default.asp?63356