Basic SSL for the client->server connection

See the USE_SSL and SSL_DEBUG settings in RemoteServerClient.
USE_SSL controls whether SSL is enabled or not. Set SSL_DEBUG true to disable cert validity checking for testing.

Change-Id: Icbaa78934cd12374bc25e78177a66a81fbb02f8f
Added database and activities to manage connection info, changed start activity

Change-Id: I4e92d012bffc1edda1758accb066b227a3384117
Instructions and support for building with ant

Breaks depepndency on the android_external_svmp_protocol generated code repository. Added detailed build instructions to the README.

Change-Id: I04e13975ab37733a0d4e98d24c6ddf77d4f6f3b9
Added encryption type support

Supports "none", "SSL/TLS", or "SSL/TLS accepts untrusted certs"
Localized string resources into XML files
Added error catching and messages when connection fails because of encryption type

Change-Id: Idd071e195dddd48583e3fe7ed087b418354ab3b4
Revert "Added encryption type support"

This reverts commit ae096a39c6a340470ced6ff99927dde89a8a5bf5

Causes too many conflicts with Andy's client code changes. Will re-merge this patch after those are in.

Change-Id: I7dcf6e5c34808a09e02acc14004c5c80906215ba
Add a new version of RemoteServerClient which is multithreaded.

Change-Id: Id42a9747c99a3848651b3fc167f574451b12da1a
Debugging background network thread
Removed the media player and replaced it with the webRTC video player.

Change-Id: I56e2c944b4d249cc8bb56be361c2cd884d55e8e8
Client support for webrtc. Still with old ClientThread code.

Change-Id: Ie177a81d9fbaf28bbae67b6915b7fec93a2c8836
Modify RemoteServerClient to use background threads

Change-Id: I17b9c821d48d4be0b8b39574c51fa50b086c2526
Fix receive msg state machine

Change-Id: I3ebe6513f9801711c23d5ff6e29716338158541f
Update state machine to handle STOP, START events gracefully.

Change-Id: I4692be8e708bba1edce2ef85fcdc00e1e17423e9
Added encryption type to UI

Supports "None", "SSL/TLS", or "SSL/TLS accepts untrusted certs"
Localized UI and Toast string resources into XML files
Localized static final values into Constants interface
Fixed bug that didn't allow the user to save a modified Connection
NOTE: did NOT add error catching for incorrect encryption type, waiting on
fixed to RemoteServerClient; using an incorrect encryption type will cause the
client to crash

Change-Id: I931dde291f1536053c90aef2c8d19c8266e8f70e
update to latest webrtc jni code. Disables video capture.

Change-Id: I9a3d8289f3f198b6775b4597ae3db9fc822ce1be
Notifications show the proper icon when pulled down in the notification drawer.

Change-Id: I3094cad33ab0187ec569d2b965778180390a2ca8
Add gradle build environment.

Change-Id: Ie18c5952d29d2bbfb0024de20b76820bc762d47e
UI modifications

Added preference management for sensor settings and Dev settings
Added menu/action bar for accessing preferences
Changed sensor minimum update delays (base delay + each sensor has a multiplier)
Added "SvmpActivity" to base other activities off of, includes menu
Condensed constants and string resources

Change-Id: Ia67e2326da816c5009402d067a1fa13591124319
Massive client overhaul for webrtc

* Added relevant AppRTCDemo code for webrtc playback
* Completely new socket and protocol handling class
* Got rid of extraneous nested view classes
* Reorganized event handling around topic-specific handler classes
* Deleted old low level webrtc code
* Sensors hooked up, but not tested
* Touch input forwarding works, sorta

Issues
* AuthData singleton somehow not being initialized sometimes
* Location handling is broken and disabled
* Massive touch input and/or video lag. Unsure of the cause. Possibly related to...
* Client still sending video and audio streams, and wasting lots of CPU doing it

Change-Id: If5936e16d6e03637e5ed0c1df2145df7bcbbb6c0
Disable sending video

Client no longer adds a video stream to its webrtc offer, does not open
the camera device, and does not display the 'self' picture-in-picture
frame.

Change-Id: Ifc891d9f78a620c0ec0944ac4e4b93bf31a5fd95
Receive video only.

Also, update gradle build script to include webrtc jar.

Change-Id: I24a561973530c623d390df13bc470d9f3e1cb464