daemon: Send TTYs directly when SUPERUSER_SEND_TTY is set.

Enables reuse of the existing terminal instead of creating a proxy PTY.

Warning: Reuse of existing terminal breaks job control in the caller shell,
thus SUPERUSER_SEND_TTY should not be enabled by default unless the caller
shell is patched to reclaim the controlling terminal.

Change-Id: I69f53efa099ff3ae5e510760fa98663411c3390c
Revert "Improve logging code."

This reverts commit ed55b0eed5680ece6d5bd0c54ab93b9b5da360b5.

Conflicts:
	Superuser/jni/su/daemon.c

Change-Id: I7ef6cc80cef8000432f189589c9e4fd75e6f14c3
partial pick "WIP" from upstream

Change-Id: I877e8bf5e08c7aa856a255e93d55d20ae03fd31e
remove need for exe link.

Change-Id: I9a3fc33f67baf18a899f7d1a5c1c1bf5202addf9