Added implementation for r_set_destroy()
Fixup: missing stdlib include
Merge pull request #183 from matthiasbeyer/implement-r_set_destroy

Added implementation for r_set_destroy()