Refactor3d

Instead of loading the 3D rendering code dynamically from a separate SWF, this change uses conditional compilation to build the editor SWF with or without 3D features depending on the value of a new SCRATCH::allow3d flag.
It might be more effective to view the diffs for individual commits, since the first commit moves several files.
This change will require updates to the way Travis builds this code.