Fix a problem preventing to delete a widget if

the widget path have some special characters
Merge pull request #1114 from matheod/fixWidget

  Fixed deleting widget if its path has special characters
Create .gitattributes to set line endings behavior