Make conf.py work with py3
Make gen_rst behave with py3
Make plot_directive py3 friendly
Make make.py build docs under python 3
Make call to raise py3 compatible
Fix py2/3 unicode differences
Simple 2to3 on gen_gallery.py
Make md5 take byte as argument, not string
Merge pull request #1383 from dmcdougall/py3_docs_2

More fixes for doc building with python 3