[emacs] Trim trailing whitespace on save

Added a new configuration file called "my-global-hooks.el". This file is
for general hooks and hooks for packages.

Added a before-save-hook that trims trailing whitespace.
[emacs] Magit enabled and keybindind set

C-c m magit-status