capsule: Rename View to Layout.

Change the name of the View class, since it is actually a layout
composed of views. Also, rename component to view.

Change-Id: Iee1c60530930ba650e05ec181c1f5a0b6ad8002c
2 files changed