Fixed build script so headers are properly placed

...in generated/headers.  This change is due to DMD issue 9389
(d.puremagic.com/issues/show_bug.cgi?id=9389) being fixed in DMD 2.062.
Added .gitignore
Split scid.types.Result.toString() into two funcs.

As one function, it caused a segfault during unittesting, which I was
unable to reduce.  Having two functions seems more appropriate anyway.
Stricter compilation options

Added: -property -w
Removed: -d