Cleaned up log recovery code to use continuation style.

Review: https://reviews.apache.org/r/18584
Added a Recovery Operation to the Registrar to force a Registry version change during recovery.

Review: https://reviews.apache.org/r/18675
Performance optimizations to the Registrar.

Review: https://reviews.apache.org/r/18758