Add apache mode.
Don't use Custom to set variables.

The previous form is used by emacs to save the state of variables set
using the customise ui.  We're setting these explicitly, so we
shouldn't do that.
Save open buffers when emacs is shutdown.

This results in previous buffers being reopened when emacs is
restarted.
Add user bindir to path.

This fixes magit detecting the wrong "emacsclient".  There's certainly
a neater way of making this change.
Thor files should be treated as ruby.
Add function to replace smart quotes in a region.
Commit Custom variables.