header/copyright tweaks
gitignore generated png files
fix for chdir in examples
Better handling of python 2 vs 3 in test_general.py
Deprecation fixes for assertEquals and assert_