Move redirection/enrollment to AccessView and trigger it using an event.

Ensure window.isExternal is loaded

Don't set a default for terms of service

For paid courses, add the course to the cart and redirect to the shopping cart view.