Adding an available ports lock to switch.  Using this, should be able to listen for changes to ports so that can add port changes to version data.  Still need to enforce that all changes to ports go through new read/write_available_ports_lock method.