[Android] XWalkViewInternal refactor

Created private functions activityOnXXX to handle the activity
life cycle callbacks, and moved extensionManager's callback into
those functions respectively.

This patch is for the preparation of completing the feature that
the extension should aware of its activity's life cycle.