API watchdog improvements (#2037)
API watchdog improvements (#2037)

* Fix error if version check failed
int was returned and caused an exception

* Let StrictVersion handle the verification

* Stop scanner if returned api version format is invalid

* scanner stop should be warning instead of info

* Use proper log syntax

* fix code style

* Slightly increase backoff_factor

* Pause scanner if forced API request failed

* clear pause_bit if version check was successful

* Cleanup

* Change requested changes
- dots
- return False instead of None
- use 0.5 as backoff_factor

AEtHeLsYn/RocketMap,rpotpogo/PokemonGo-Map,hubertokf/RocketMap,djfye/PokemonGo-Map,birdstream/RocketMap,sebastienvercammen/RocketMap,pkgta1/shuffle,djfye/PokemonGo-Map,neskk/RocketMap,AEtHeLsYn/RocketMap,pkgta1/shuffle,pgandev/RocketMap,mpw1337/RocketMap,JapuDCret/RocketMap-Do,birdstream/RocketMap,mpw1337/RocketMap,ultrafunkamsterdam/PokemonGo-Map-V2,pgandev/RocketMap,sclo012/PokemonGo-Map,boby361/RocketMap,djfye/PokemonGo-Map,RocketMap/RocketMap,tomballgithub/RocketMap,djfye/RocketMap,mpw1337/RocketMap,birdstream/RocketMap,RocketMap/RocketMap,houkop/PokemonGo-Map,boby361/RocketMap,Alderon86/RocketMap,sebastienvercammen/RocketMap,neskk/PokemonGo-Map,Alderon86/RocketMap,JapuDCret/RocketMap-Do,ultrafunkamsterdam/PokemonGo-Map,djfye/RocketMap,neskk/PokemonGo-Map,AEtHeLsYn/RocketMap,AEtHeLsYn/RocketMap,djfye/RocketMap,djfye/RocketMap,birdstream/RocketMap,rpotpogo/PokemonGo-Map,ultrafunkamsterdam/PokemonGo-Map,Alderon86/RocketMap,KoertJanssens/MasterBall.be,sclo012/PokemonGo-Map,sclo012/PokemonGo-Map,Alderon86/RocketMap,neskk/PokemonGo-Map,tomballgithub/RocketMap,ultrafunkamsterdam/PokemonGo-Map-V2,houkop/PokemonGo-Map,hubertokf/RocketMap,neskk/RocketMap,tomballgithub/RocketMap,sebastienvercammen/RocketMap,neskk/RocketMap,pkgta1/shuffle,RocketMap/RocketMap,rpotpogo/PokemonGo-Map,tomballgithub/RocketMap,pgandev/RocketMap,JapuDCret/RocketMap-Do,hubertokf/RocketMap,KoertJanssens/MasterBall.be,pgandev/RocketMap,ultrafunkamsterdam/PokemonGo-Map,KoertJanssens/MasterBall.be,houkop/PokemonGo-Map,rpotpogo/PokemonGo-Map,KoertJanssens/MasterBall.be,houkop/PokemonGo-Map,ultrafunkamsterdam/PokemonGo-Map,mpw1337/RocketMap,neskk/PokemonGo-Map,boby361/RocketMap,neskk/RocketMap,ultrafunkamsterdam/PokemonGo-Map-V2,sebastienvercammen/RocketMap,pkgta1/shuffle,ultrafunkamsterdam/PokemonGo-Map-V2,JapuDCret/RocketMap-Do,boby361/RocketMap,RocketMap/RocketMap,djfye/PokemonGo-Map,sclo012/PokemonGo-Map,hubertokf/RocketMap