Adding .gitattributes.
Some fixes for GCC 4.6 warning: variable set but not used
ShorcutsPreferences: fixes 64 bit warnings
Directory restructure.