Sample Vaadin 7 app that uses custom ViewDisplay that switches view based on annotated view class