Fix bug with accessors defined in modules (fixes #388)

Accessors defined in modules were not being inherited by classes that
included the module. This commit fixes that bug by adding accessors to
the donate list which a module keeps track of.