Fix real tabs count to work correctly over browser restarts

This commit exposes liveTabCount to QML and that could be bound
to e.g. a settings value.

PR adds unit tests for live tab count.