tj_util: Tweak allocation macros to wrap in block.
Add tj_util unit tests.

Add support in wscript for wrapping symbols in linked programs.  Useful
for mock objects.

See: https://lwn.net/Articles/558106/ (the last section).