Topic/instance switcher

This adds work performed by Justin and myself to create an instance switcher in the generic iOS app.