Devoncarew adb work

General work on adb deploy:

- refactored code so that the code to communicate with an adb server is a separate library
- the deploy process via adb server now starts Chrome ADB if it is not already running
- fixed a regression in the tcp code where end of streams were not handled properly

@dinhviethoa