Emacs + Vim coding standard directives

Just to make it easier for everyone to follow coding standards, these are directives to Emacs and Vim to automatically set modes/settings up when the file is opened. Sets tab width to 4 and tab-with-spaces. I followed Libreoffice/OOo's standards when adding them.