Unit tests for __traits(getUnitTests)

This will also add support for getting unit tests functions from structs and classes. BTW, is "aggregate" a good word to use in the error message.