[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=
That's how i met the issue fixed in #2178 , Now it's working all the callbacks been called multiple times.