Made branch interface more less coupled to the current application by
introducing an "isIsolated" method which can be used to indicate whether
a branch is isolated or not. 
This is used to move out change sending logic from branch into model and
thus making branch less coupled to model.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>