Merge a bunch of changes from upstream svn.
Start moving towards gradle.
initial import of gradle
Cleanup for gradle.
add superuser permission.
Move network access off the main thread.
Clean up the main layout.
Add exception detail to error message.
Handle (invalid) null messages without crashing.
Ignore clipboard events without crashing.
add notes and logs to jni.