Add `.editorconfig`

See <http://editorconfig.org/>.
.bash_prompt: Avoid double-escaping ANSI codes

Fixes #399 and closes #402.
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  .bash_prompt: Avoid double-escaping ANSI codes
  Add `.editorconfig`
Updated .editorconfig