Android: Added connection change receiver.
SyncDeviceSpecifications: Added event and method for connection change notifications.
SyncListenerServer: Now stopping the HTTP service when wifi is unavailable; starting the service again when wifi returns.

Related to issue #406.