basis.data.Object: fix delegate removing (fixes #12), implement debug_basis.data.Object#delegates method