MDLSITE-2264 link moodle.net and legacy mooch

with tests covering it, i think it's ok to send this to production, per Helen's request.