* emacs.c (main): On Cocoa, if GUI session and 0 is not a tty,
chdir to HOME.

Conflicts:
	src/ChangeLog
	src/emacs.c
check for crashes: support new (10.9) DiagnosticReport directory
check only last 5 crashes to avoid incremental slowing down of boot process