[SPARK-1087] Move python traceback utilities into new traceback_utils.py file.

Also made minor cleanups to JavaStackTrace.
it's better to only call extract_concise_traceback() once, such as:
```
self._callsite = extract_concise_traceback()
if self._callsite is None:
   xxxx
```