Rework CMake files to actually use the CMake app template macros,
with an update of the autobuild script to fix test widget building
to match the state of the other bindings.
Bug-AGL: SPEC-2049
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I88c438ed4dafd631646769d7b6dc3debd1ccd6de