Migrate to Python 3; bug fix

Updated the example and core code to Python 3.
Fixed issue where tables with multiple column dimensions would not
display correctly; column header generation code was adjusting rowspan
rather than colspan.
Fixed settings import in example manage.py to use django.conf.settings