Automatic discovery on the network of the MaxCube lan gateway

This eliminates the need for any configuration in most cases. 
If there is no configuration this new MaxCube discovery is run.