added onRemove option to widgets, also lazy unsubscribe to logicalOperators in AppInstancePageView
Merge branch 'master' into unsub_logical_ops#510
Merge pull request #534 from andyperlitch/unsub_logical_ops#510

Fixes #510, Unsubscribe Logical Operators when not used by any widget