fixes import in example
makes examples work on Python 2
removes unneeded stuff from .editorconfig