Split the emacs24 configuration commands into a different file.

This makes it easy to differentiate between which configure steps are used for which versions of emacs.  It also fixes a bug when using emacs23 (the built in emacs in OSX) from the command line.