Allows usable_port_range to be configured via yaml. Closes #958