Dev vivien

Import Vivien's fixes.
* proper encoding declaration
* no more useless stuff in the gitignore file
* 80 colums limit in existing code