Separate layout into editor and map packages.

This was a collection of smaller commits, but I accidentally corrupted
the .git directory when trying to delete a shared folder from within a
VirtualBox machine.

Whoopths!