Check for warn_unused_result attribute on (transfer {full,container}) function return types
Add a checker which tests whether the warn_unused_result
attribute is present on functions which have (transfer {full,container})
annotations on their return types. If the attribute is not present, emit a warning.
(Imported from bugs-everywhere; see #2 (closed).)