Multiple gitignore fixes

Ignore comments, whitespace and remove beginning /.
Also all paths get reduced to a basename since that is
all that walkdir2.js matches against