Minor code formating fix
Remove trailing line endings
Implement proper #toGeoJSON() export method
Use new #toGeoJSON() method
Ignore swap files
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages