Enables LMS to handle deprecated URLs

LMS-2651
Merge pull request #4353 from edx/flowerhack/lms-deprecated-urls

Enables LMS to handle deprecated URLs