test/testutil.h test registry macros

These help standardize the structure of main() and result reporting, providing confirmation that all tests have run, even when they pass. This pull also contains the change to apply these macros to ssl/heartbeat_test.c.