revert ADB to nsIProcess and use new TCPSocket API on Gecko 23+

@ochameau: this is a squash commit combining the issue-459 and issue-460 branches. I'd still like to get your input on these changes, but I'm going to push them in the meantime so they make it into today's preview builds. The details are in #463 and #465.