Enhanced constructor of exception_template to take three arguments. Moved exception info extraction to throw_with_python_info. Added extract_exception_type().
Cleanup. Merged extract_xxx files to one.
Added extract_message function