models: add activeBufferChanged signal

When the active buffer is changed on the model, the model
now emits a signal on the rootScope
ui: scroll to bottom when receiving activeBufferChanged signal

Triggers the ui manipulation code when the rootScope receives the signal.
Supports multiple ways of changing the buffer (clicking, shortcuts, etc.)
without having to duplicate this code.