Fix unique statement argument propagation
Augmentation to the list with a unique statement from a module different
from the one where the list is defined causes SourceException which
complains that the argument node of the unique statement does not exist.
This turns out to have already been flagged with a FIXME -- this
behaviour has been there since forever.
The correct behaviour is to use a StatementPolicy.copyDeclared() and
adjust QNames in the argument's Descendants.
JIRA: YANGTOOLS-1470
Change-Id: Ib2cd23d50cd881d2ae94dbc0b271b5d481c9f55c
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
(cherry picked from commit
7e849648fed0d0a195f83d43d1a7d015478ad1eb)