Refactored code for activity result handling.
Changed the protocol between the activity and the service.
Fixed EditTexts to single line.
Changed the widgets to be private.
Fixed the Run button to be enabled at first.
Changed the internal string of NULL Session ID.
Changed to invalidate session ID in any cases.
Fixed to flush buffer in PrintWriter in writing a session ID.
Changed the service to use AIDL.
Changed to ignore ".project".
Fixed to ignore lint.xml.
Enhanced to show a toast for exit.
Added a missing aidl.
Changed to avoid TransactionTooLargeException.
Enhanced to call disconnect().
Fixed the RunFragment to initialize the buttons in any cases.

The previous version initialized the buttons in onActivityCreated().
This is no good. Because this method is called back before
Activity.onResume() when the fragment is shown at resumed. So the
fragment cannot initialize the button.

This patch changed the fragment to initialize in onResume().
Fixed the RunFragment to run.

Activity's onResume() is called before Fragment's onResume(). The
fragment must give itself to the activity before onResume(). This patch
does it in onAttached().
Updated the utility for nexec client.

The update is for X.
Changed to use the shared libraries.
Changed to use the utility methods to read/write session id.