Add resty_deactivate function

This unloads all of resty's vars and functions, including itself.