renamed destroyed to invalid in reference-sys
renamed functions in referencor/referenceable