Composition now supports inline views and templated parts.

Moved the widget module's templated parts into the core composition
engine. Also, enabled the composition engine to support inlined views.
Moved getParts from widget to composition. Enhanced various APIs to
support the new capability. Extended the view composition sample to
demonstrate some new techniques.