Use Teuchos to print stacktraces

We carefully only include Teuchos in csympy_rcp.cpp, that way nothing else gets
polluted.