Add __setitem__ to DictRefsContainer.
BaseRefsContainer assumes __setitem__, but it is not defined in the base
class. This was not a problem previously because DictRefsContainer was
not widely used, but that will change.
Change-Id: Ica0786e63ed2ef301c63671a5f3637048c0338f9