Implement #871: Add a setting to hide inactive networks in buffer views

Not much else to say. The default is off for behavioural compatibility with previous versions, but there's an argument for having it on by default since connecting to networks is usually rare and there are other ways to connect than via the buffer view.