[Android] Add a new API to register network change broadcast receiver

The network change broadcast receiver will only be registered when activity state changed.
In XWalk runtime, the XWalkContent will be created after activity started, we need to add a new
API to register the broadcast receiver anytime.

BUG=XWALK-1324