Reset HasExternalLexicalStorage once parsed.

Avoid var name "Specialization" and its overloaded meaning.
Update the DeclContext used for lookup to point to the definition.

While the ASTReader fills the existing Decl, we create a new redecl.
This patch can be removed once we use real PCMs.