Added wrapped import function. Implementation still looks a bit rough.
Added test for resetting python exceptions. Small improvements to clear_exception_test