Fix #3347: "Run Code" reloads page in Matlab Problem

Instead of refreshing only the necessary parts,
"Run Code" reloads the whole page.

This commit fixes this behaviour, by refreshing the
specific elements belonging to the Problem instead.

Internal number:  LMS-2505

@antoviaque and @dianakhuang might be interested.
@dragonfi No you don't need to remove it, i removed it in my PR for a bug related to this, https://github.com/edx/edx-platform/pull/4012