Generate demo mode resources during image build

Updates build_image to create imageloader supported image from test demo
mode resourced directory created under local rootfs build directory
(which are finalized during base image finalization), and install them
to the test image.
Also, generates standalone demo mode resources artifact (that is
intended to eventually be added to appropriate images' stateful
partitions during factory flow).

TEST=build image

Change-Id: Ie05e71e966b755926a80a2405d3a3ca736a024de
Commit-Ready: Toni Barzic <>
Tested-by: Toni Barzic <>
Reviewed-by: Wei-Han Chen <>
4 files changed