[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=
> Another question, can XWalkView be used in a Android Fragment?

Already is, in xwalk core shell.