Added a submodule to enable magit, and removed/replaced unworking modules.

These changes are necessary on the newest emacs.
(Untested) Merge in emacs23 branch changes.