Bug 450881: Add helpers for XPIDL arrays to nsCOMArray, r=froydnj

--HG--
extra : rebase_source : d87f6cbdd2bab54f5923821409c9197f98b372f4