Do do not check unique in unsupported lists
Parsing of YANG models fails if a list conditional on a feature has a
unique statement and the feature is not supported.
Add test cases to reproduce the issue and fix
RequireEffectiveList.isApplicable() to also check for
isSupportedByFeatures().
JIRA: YANGTOOLS-1481
Change-Id: Id73f3f36fc5300e4c9fe97c32a25e58ab75078e4
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
a94cb0f875a6b56360f64a6ba49d209a3dddd1ee)