Fixed rtd links

tldr; (s/http/https)

Updated readthedoc api javascript references to point to the secure domain api and documentation page since those don't run because of a security warning.
Merge pull request #207 from jefftriplett/patch-2

Fixed rtd links