Add support for getting unit tests from aggregate.
Add unit tests for __traits(getUnitTests).
Add const and better documentation to collectUnitTests.