XModuleDescriptor._xmodule() should not suppress IntegrityErrors.

TNL-367
Created repeatable_read_transaction decorator.

This decorator executes the decorated function inside a
transaction with isolation level set to REPEATABLE READ.

TNL-367
Added repeatable_read_transaction decorator to views which raise IntegrityErrors.

TNL-367