Let's be nicer when it comes to git

Missing trailing newlines and unexpected trailing whitespaces tend to make Linus cry.

Let's give some love to `trim_trailing_whitespace` and `insert_final_newline`.

Few notes:
 - Some of those commits fix some issues on *my* machine (VS2012 box). I've isolated them so that they could be eventually easily ripped of
 - ~~`trim_trailing_whitespace` is not implemented yet. This is an early first draft in order to get some early feedback.~~
 - I'm **not** very statisfied with the `PluginPackage.ViewSettingsContainer` singleton. If you've got any advice regarding this, I'd be very willing to implement something more elegant.