Adds debounce logic for Android network changes.

Android will send duplicate network change intents.
This adds some debounce logic to prevent the change
handler logic from calling online/offline too many
times.
Merge pull request #281 from couchbaselabs/restart-async-task-issue

Adds debounce logic for Android network changes.