Move Pearson courseware imports to function level.
Merge pull request #1160 from edx/brian/fix-extauth-courseware-import

Move Pearson courseware imports to function level.