Merge pull request #173 from tigeli/cancelagent

[connman] Cancel browser requests if useragent has not returned anything
[connman] fix service structure access while unreferencing

It's unsafe to access service struct after possibly unreferencing it
for the last time, so needed to change the order of statements in
stop_recurring_online_check() so that access after last unref isn't
possible.
Merge pull request #175 from hmallat/service_struct_access_fix

[connman] fix service structure access while unreferencing
[connman] network: protect service structure access with reference

As __connman_connection_gateway_remove() may unref service, wrap
network.c:set_disconnected() with connman_service_ref/unref to make
sure the struct stays around during the function call.
Merge pull request #176 from hmallat/service_access_protection

[connman] network: protect service structure access with reference