Error Tracking: Improve stacktrace parsing of payload in rails application

Currently the stacktracing parsing happens on the gitlab application (code here) which only looks at the top level key of exception.

However, stacktrace can be provided as part of threads key in the payload (mentioned in docs).

As current code misses to extract stacktrace from threads key, UI misses showing it altogether. This creates problems for few sdks such as dotnet (#2855 (closed)).

We should add support for parsing stacktrace from threads interface as well.

cc @drosse @sguyon