Added commit_on_success_with_read_committed decorator to courseware.views.index

TNL-367

Reviewed in https://github.com/edx/edx-platform/pull/5739.