Add EditorConfig for spacing

EditorConfig supports multiple IDEs to enforce spacing guidelines http://editorconfig.org/

Also ran through all files to trim leading spacing