Added commit_on_success_with_read_committed decorator to courseware.views.index.

TNL-367
Merge pull request #5751 from edx/usman/tnl367-transaction-level-decorator-3

Added commit_on_success_with_read_committed decorator to courseware.views.index