Made INameValueCollection enumerable.

#2243