[connman] enhance online check

-Do not trigger __connman_service_online_check_failed
 with http status 302.
-Only downgrade connection when the state has been
 online and online check for it fails.
-Do not continue doing online checks if the service is
 not ready/online-state.
Merge pull request #26 from tigeli/enhance_ochk

[connman] enhance online check