Refresh package archive when installing packages

This should avoid errors when adding new packages and forgetting
to do a package-refresh-contents - this code taken from
emacs-prelude