BUG-987: Fixed parsing of identity nodes.

Change-Id: I97ff6ae9247b9a6b0b9f7d1ca6e48d56cd79e937
Signed-off-by: Martin Vitez <mvitez@cisco.com>
(cherry picked from commit 264331c05f7bf168b811dd9e9632592c8cdf1ea4)
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-987: improve EnumerationType

Use ImmutableList. Also we can use a shared instance for Qname, which
lowers overhead and speeds up hashCode()/equals(), too.

Change-Id: I6a6fb601a33c0c5b2a502fdb6880d3b4cf5e653c
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 77d5f8a81a9f44939a43d7e2711d2133b6bd3f8b)
Signed-off-by: Robert Varga <rovarga@cisco.com>