[Android] Enable auto detect connectivity state change

1. Enable auto detect connectivity state change.
2. Add permission of ACCESS_WIFI_STATE.

BUG=XWALK-1324
Merge pull request #1822 from kurli/network-change-listener

[Android] Enable auto detect connectivity state change