MDL-22315, some more annoyances with IMS-CP resource type:
1) it's supposed to have some sort of versioning relying in the file->itemid column. Independently from me hating that "abuse" of itemid, it seems that it isn't possible to browse/pick any of the old versions, so right now it seems to be unusable (the file manager near the the "choose a file" button always show 0 files.
2) pluginfile for this activity should be able to default to index.html if one directory is passed (same for file/resource activity).
3) clicking in the TOC, causes new page in the browser so navigation/moodle env is lost.