test-fix-settings-service: Fix failing import due to settings service

Move it to the xmodule library to address the circular import, until we
figure out how to avoid the xmodule inclusion.