Start elastic search in daemon mode

Add the -d flag so that elastic search actually starts in daemon mode rather than sit in the shell, and exit when that shell closes.