Optimize signal calls.

Refs #5049
Add check statistics.

Refs #5049
Optimize Service::GetHost.

Refs #5049
Optimize DynamicObject::HasAuthority().

Refs #5049
Fix exception in Value::ToJson().

Refs #4059
Merge branch 'feature/checks-4059' into next

Fixes #4059