Switch from Makefile to build.py, plus fix some image extensions for Documentation build

Modeled after the build.py script from kiwisolver, but adding tests and gh_pages build.  

Also, a few of the images were named PNG instead of png, which generated Sphinx build errors.