Fixed long-standing bug related to hierarchical scheduling and servers.

A child that has only servers will starve as it doesn't correctly
calculate the expiration time of the next event the parent should wake
it for.  Specifically, it doesn't consider server replenishments.

This patch fixes that.

WARNING:  compiler prints/compiler warnings remain.