(CFACT-91) Restructure execution tests

Combine common tests (yaml, json, txt) in collections.cc, and add external facts testing for powershell.