Add compatibility with Python 3.6 Drop support for Python 2.6, 3.1, 3.2, 3.3 Fix lxml tests (XMLSyntaxError: Detected an entity reference loop)