Cope with API change.
Tweaks to file manager to make it look half decent.

Conflicts:
	style/moodle-rtl.css.map
	style/moodle.css.map
	style/moodle_min.css
Merge pull request #350 from gjb2048/master_M28

Cope with API change in M2.8