[RFC] Fix availability calculation

The bug happens when a check is just started or paused

- [x] Fix availabilty : paused time should not be considered in testedTime
- [x] Fix downtine : idem
- [x] Fix uptime bar : issues when time was paused, current interval not correct, ...
- [ ] Fix for tags ?

Refs #197