Melpa packages for magit, web-mode.

Move package installation to the beginning of the file so packages are
available for configuration immediately. Add the melpa package for
magit, getting a newer version. Add web-mode package and bind it to html
and a few other files for a nicer default html editing interface.
Force html files to use Django mode.
Add Markdown mode.