Add editorconfig, fix formatting
Set version number to 'dev' if not on circle