initial repository. changes: $View.events add 'beforeSwitch' and 'afterSwitch' events. update: $View.switch() will fire event before replacing content. new: add $View.currentContent for getting current view content.