Fix how stdout is redirected in plotpages so it works better from IPython notebooks
Merge pull request #122 from rjleveque/plotpages_stdout

Fix how stdout is redirected in plotpages