Improved exception handling in generate_error_response

Use traceback, plistlib, and platform to show more information about
expections. Filter build path from stack trace, attempt to show OS and
MM version. Handle previous code using `e.message` by testing trace.