Make python exception / ClassAd error behavior consistent. #4773

python_invoke and registered functions previously had differing
behavior when a python exception is thrown.  Now, both functions
will *keep* the python exception set and return an error value.

This means the next time control returns to the python interpreter
(i.e., using python_invoke or register from a python script), an
exception is thrown.