Explict exceptions when setting locale.
Updated coding standards test to raise an exception containing the PEP8 failiures.
Merge pull request #2436 from mdboom/locale-explicit-exception

Catch explicit exceptions when setting locale.
Clear the font caches on every test.  This should prevent problems where setting font properties will leak over into another test.
Fixed failing PEP8 tests.
Merge pull request #2099 from pelson/re-enable_pep8_test

Updated coding standards test to raise an exception containing the PEP8 failiures.
add convenience pagecount getter method for PdfPages
add test for pagecount getter of PdfPages
Merge pull request #2437 from mdboom/fix-randomly-failing-tests

Fix randomly failing tests
Merge pull request #2440 from megies/pdfpages_pagecount

Pdfpages pagecount convenience getter method
Only set `use_2to3` on Python 3.
fixes issue with using transparency for the figure patch and
being able to see shadows of previous draws underneath.

see: http://stackoverflow.com/questions/18944561/matplotlib-pyqt4-transparent-figure

Added some documentation to `paintEvent`
Move travis uploading back into .travis.yml
Merge pull request #2449 from tacaswell/qt4_clear_before_draw

Qt4 clear before draw
Merge pull request #2446 from mdboom/old-distribute

Don't set use_2to3 unless we have to.
Fixed bad quiver transforms.