Extract edx opaque-key instances from edx-platform

[LMS-2757]