Add option self-test and corresponding autotest
That's a low-tech test for catching many critical QML runtime errors that prevent application startup. Generally useful but particularly interesting here as Alligator is currently our most complete test case for static builds.