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

Also made minor cleanups to JavaStackTrace.
They are just internal interfaces, so it's fine to not have __all__ here. If having, it should be JavaStackTrace