Expose API to inhibit GC.
Add trace hook deriving via Encoder/Encodable.
Merge pull request #48 from jdm/togglegc

Infrastructure for disabling GC and deriving trace hooks automatically.