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.
Fix merge derp: Emulated storage should be mounted in the child, not the
parent.

Change-Id: I7bb6e8db1a64de90e96783e07ff26932befe2742
Fix bugreport toast spam.

Change-Id: If6886089aa132694b6aad0a4d3d35646bffbed71
Merge "Fix merge derp: Emulated storage should be mounted in the child, not the parent." into cm-11.0
v1030

Change-Id: If43549a5f08cc3c895977d6a6b1e124dd3ff732b
Merge remote-tracking branch 'koush/master' into cm-11.0

Conflicts:
	Superuser/AndroidManifest.xml

Change-Id: Ic4c9b674efb040b51a36472cabcd6234a5f382b2
Merge pull request #222 from mkasick/master

daemon: Send TTYs directly when SUPERUSER_SEND_TTY is set.
Revert "daemon: Send TTYs directly when SUPERUSER_SEND_TTY is set."

This reverts commit b85253ec9631bb18c609a2524d79e240bb7d63b9.
Merge branch 'head' into kitkat

Conflicts:
	Superuser/jni/su/daemon.c