Add AutoMemoized template specialization for Strings. Add Nondeterministic IDL attribute to Document.referrer.