Merge parent views and events when subclassing a Controller. Merge parent views when subclassing a view.

Change-Id: I47cbf462f037d90b5c246fea6194c05cad9792cc