Implemented btp_java_stacktrace_to_json.

Fixes #11.