editorconfig-implementation

I added an editorconfig file and also my settings for webstorm file formatting. 
I went through the javascript style guide and added every option I thought would work with the editorconfig file.