Merge pull request #6 from springermac/modulegraph

More Python 3 fixes and Python 3.4 compatibility.