Add source directory to sys.path and enable MathJax in conf.py

This solves my problem doc building mentioned in #1102. It also (re?)enables the MathJax extension of Sphinx using the official HTTPS CDN.