[FIX] Recover lost duplicate-attribute check in XQUP.
[ADD] XQuery, GH-755: Added test case.
Merge pull request #758 from LeoWoerteler/dupl-att

Recover lost duplicate-attribute check in XQUP.