Update cmake auto test.

Use the test generator to simplify the test, and add test for the
QtNfc module.

Change-Id: I6775407740572223b4cc8ff5373a49f8933641e5
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>