fixes py3 unicode error
fixes django > 1.6 default middleware classes issue
fixes 404.html missing template issue in tests
adds travis badge