Adding network change callbacks.

Adding the ability to register callbacks to be detected when there is a
change in the LAPIS network.
Adding NetworkChangeHandler class.