Set web-mode's indent level to 4

Also extract web-mode custom stuff to its own file, in anticipation of
making other changes.