Changed order in which packages get required.

The order the packages are required and installed have been inverted.
First, we assure everything is installed and subsequently we get to
require all of them. This seen to have resolved an issue with
magit-mode-map not being available for edition. This hanged the init.el
file execution and made emacs behavior inconsistent.