[Android] React to activity state change within XWalkView

Previously, XWalkView relies on embedders to manage the
resource of XWalkView based on Activity lifecycle.

In this commit, implement XWalkView as ActivityStatusListener
and handle the lifecycle state change by itself.

BUG=
Merge pull request #2181 from wang16/activity_status

[Android] React to activity state change within XWalkView