Updated file templates to Emacs standard skeletons.

Also included a new template for custom variables.