Hide 'Versions' links unless at readthedocs.org, fixes #602.
Merge pull request #654 from opdemand/fix-docs-versions-link

Hide 'Versions' links unless at readthedocs.org, fixes #602.