Use subterp urls for the links in the definitions view and the slide-down interps
JS tweaks to make loading an interp from a definition work
PEP8
Merge pull request #544 from cmc333333/subterp-anchors

Pick the correct subterp when creating a link