Fix various linting errors

* Fixes #26 in all scripts, hopefully for real this time
* Adds an standard [EditorConfig](http://editorconfig.org/) to keep consistent code formatting by contributors
* Minor lint and formatting errors in scripts

@gabceb Can you take a look at this or should I go ahead and merge this?
I went ahead and performed these changes to make #43 more focused.