Better Reset Handling

* Reset the Emulator (and adb) on network error.
  This ensures a “clean slate” for the reconnection.
* Forget about which assets have been loaded to the
  Companion when network connection is reset. This
  solves the problem where people disconnect from
  an emulator and then connect to a phone and don’t
  see their assets (because we think they are loaded,
  not understanding that the actual device has been
  replaced).

Change-Id: I46c06ad4f32c1fc92f3b098f403b86d880b12661
Increase the timeout waiting for the Companion to be ready.

Change-Id: Ib038ffba4636f62711a4ff062e91d5f529b8972a
Changed all subprocess.call to subprocess.check_output

Change-Id: If6442b27abcf19782cf49a853f859b94172c0eeb
Call _getversion on the Companion to verify that it is running.

Change-Id: Iaa41e64bb16b0ab0e655f7c5479e5a4fc750d99c
Added version to utest command

Change-Id: I5ed1a94d70a0cd90e63b33cddda4a3daea2b8e6d
Automatic Updating of Companion

The Companion will now auto-update itself unless it was downloaded
from the Play Store. Auto-Updating is a violation of the Google Play
Store developer policies. However side loaded Companions will
auto-update. This is of particular use in the Companion installed
within the setup tools. This will help us to avoid having to update
the Setup Tools with each change to the components, which requires a
Companion update.

Change-Id: I92069d38f8a838d4d44ca9382ea03304585824b4
Fix Link to the User FAQ

Fix Link to the User FAQ displayed when a project is built to display
the QR Code.

Change-Id: I498492cb590b1970bc3764316fb81cf21ccb1e7a
Generate our own QR Codes for the Build->Show QR Code action.

Use our own code (currently javascript in replmgr.js) to generate QR
Codes for the Build->Show QR Code action instead of calling out to the
Google Chart API, which is now deprecated. This also removes a
dependency on an Internet connection (to reach Google).

Change-Id: Ibbdd6be436a7a06eeb1329056c33f72809a8414b
Modified to now return status codes and error messages.
Fixed reset connection to kill adb and emulator

Change-Id: I00e3edfe92dd27e60b3fb72693fbdca9727e10fc
Fix for Twitter component
  - String.isEmpty() is only available on Android 2.3 (API level 9)

Change-Id: I19de08d5ffdac1b292d14c6fc6c948014ca75133
Add command to aiStarter to reset virtual disk of Emulator.

Change-Id: Ieac27e7edba54d44e356cd6aaa4aa93086840d4b
removed close_fds parameter from emulatorreset entry point
added error checking on killadb and killemulator for consistency

Change-Id: I7db405f618e29be51f62eb344a437a88feeac364
Trim elements when extracting info from CSV tables.
Issue number 671

Change-Id: Iee377436490cf397e91b3e300f4846acf7d989df
Fix Yail Generation for Packaged Apps and Unicode

Make sure unicode characters are rendered properly for packaged apps.

Change-Id: I5effd706d99053705cd1a059f7934cf1e3db19c5
Fixed bad column selector in email picker.

This still uses the deprecated contacts package and need to be
updated.

Change-Id: Ibc4cd95cb4f25e42e1fb9c8aa424957729ec3265
Tweak the documentation for EmailPicker and make the same change
in the reference documentation.
Remove tabs.

Change-Id: I2e9941d9303b9707880b6b189d3c934b1a023c08
Fix various documentation issues from ticket #602
Removed redundant some redundant <p>'s and added some newlines

Change-Id: I60b7e7e89b31f9af36ce24595d710b9983db157a
Add Unauthenticated APK Downloads.

The QR Code displayed for Build=>QR Code will now work for anyone
instead of just the logged in user. However it is only valid for 2
hours.

Change-Id: I40f28ec1402bd7385989cdd0f41e94e18c1cbd90
Change text to speech shutdown to happen at onDestroy.

Change text to speech shutdown to happen at onDestroy rather than
onStop. Add retrty-delay loop to TTS service initialization.

Change-Id: I109c93d0ad5894c8f22e8fff244baece68ed5832
Changed some labels in project menu Removed some definitions that were commented out.

Change-Id: I5a6103cfccfec3c79c5f533e399085e2f2bc1e06