redirecting iostreams to python streams for solve functions
To make logging more uniform across Python/C++ API boundaries, long running
functions of solvers have std::cout and std::cerr redirected to sys.stdout and
sys.stderr. In addition, the Logger now has bindings in Python and uses
std::cerr instead of fprintf to stderr to allow stream redirection.