converted necessary files for python3 compatibility using 2to3
fixed relative imports in Jinja for python3
explicit string encoding when writing to file in python3
Merged upstream master
More generic todict
Generalized todict implementation
Improved standalone importing behaviour and creation of nested directories
removed experimental slots
Merge pull request #2403 from hbristow:issue-3451