Completely rewrite bc-network-admin-helper.rb to a much more complete validator

The new validator now checks if the network definitions in the json file make sense.