module_tree_reset: remove deprecated view

...will be reimplemented in Proctor xmodule soon.
use basestring instead of str in isinstance