Unbound element name prefixes should but do not error

The unbound namespace prefix error for elements would not fire, due to the tag.uri being set to the prefix too early.  Patch includes tests and updates the logic around the error to mirror the same logic for unbound attribute prefixes.