Consider redirect code as succcesful
Properly handle error responses
Prompt before leaving page
i18n fix
Merge pull request #1013 from edx/jkarni/fix/import-warnings

Jkarni/fix/import warnings