Changes to API adding new templates and actions

This change adds new templates and actions, as well as DeviceTypes.
Also refactor the parcelling and unparcelling to support composite templates.

Javadoc to come on a later CL.

Test: atest

Change-Id: Ib240ef9930d37d464ea3a31a5cc245e02908eb05
39 files changed