meta: a few more project control files

Add a few more project control files

.gitattributes: this is useful when using Github on Windows, helps prevent end-of-line conversion problems.
.editorconfig: tells emacs (and Visual Studio) how to format and indent files
haywire.gyp: emacs is always removing end-of-line whitespace; I can configure .editorconfig to not do this, though
.gitignore: add a few more build artefacts to the ignore list

This PR is also messy.  It is rebased onto the add-catch-unit-tests branch; let me know if you'd rather have a PR rebased off of master or some other branch.