Move magit to a submodule. Move non-package requires to above packages.