Centralized gitignore files

Signed-off-by: Antoine Neveux <antoine.neveux@atos.net>
Added possibility to define rules as mandatory. In this case, user will
not be able to deactivate them from preferences.