Update Emacs configuration.

Adds missing org-annotate-file dependency, fixes startup for Emacs 24,
and automatically installs required packages.