new script for upgrading elpa packages which can be run from command
line using

     emacs --batch --script ~/.emacs.d/upgrade-elpa-packages.el