[Android] Enable auto detect connectivity state change

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

BUG=XWALK-1324
[Android] Support keeping-screen-on for web apps

Provide '--keep-screen-on' arguments in packaging tool
and apply keep-screen-on flag to the activity,
then the activity will request keep screen on for the whole life.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1411
Merge pull request #1822 from kurli/network-change-listener

[Android] Enable auto detect connectivity state change
Merge pull request #1825 from jinbang/keeping_screen_on

[Android] Support keeping-screen-on for web apps