Added macro for defining gc callbacks.
Added tests for gc callbacks.
Update gc.cpp
Merge pull request #182 from rvagg/gc_callback

Added macro for defining gc callbacks.