Add before-save-hook to set major-mode for unsaved files

When you start new shell scripts, you get fundamental-mode.

This way, I can just write the shabang line in fundamental, save, and
poof - correct mode is now selected.