issue 3434: warnings from matplotlib when starting isympy
the issue was that matplotlib.pyplot was being imported before
pylab was initialized. initializing pylab after the import of
matplotlib.pyplot caused a warning to be printed to the console.
some plotting methods don't work in py3k without this. objects are making
their way into sympy's cache.
hack to get the pyplot fix to work with matplotlib/py3k
unit tests to ensure that interval objects in the plotting module are hashable
this came up in issue 3434
add comment and tests, remove/reformat some old comments
amend test for case where matplotlib is not installed
clarify regression test
Merge pull request #2101 from hacman/matplotlibwarning

issue 3434: warnings from matplotlib when starting isympy