move to CM v4beta2, use AMD for CM

Also need to move all CM files around so to match its expected
dir structure so that its AMD relative paths match up.
And ditched loadmode.js as can be replaced by jsut 2 lines of AMD.