Fix goog.array.extend to work with large arrays.

Signed off by: yzhu@yahoo-inc.com (under Corporate CLA for Yahoo, Inc.)
Remove superfluous array check in goog.array.extend

Signed off by: yzhu@yahoo-inc.com (under corporate CLA for Yahoo, Inc)
Merge pull request #356 from diracdeltas/fix/extend

Fix goog.array.extend to work with large arrays.
Properly template context for "findIndexRight"
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79226400
Update remaining instances of JsDoc containing the old dot syntax.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79286870
Address excessive CPU use in some browsers by throttling opacity changes in goog.fx.dom.Fade and subclasses. This CL only applies changes that have a chance of being visible on displays with 10-bits per color component (i.e. 30 bits for RGB).

Someday these fades ought to be done with CSS transitions instead ;^).
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79292626
Add support for elements which require a TrustedResourceUrl. Just "embed" for now, "object" to follow.

Setting embed and object from a user controlled URL can easily result in XSS: http://lcamtuf.blogspot.ch/2011/03/warning-object-and-embed-are-inherently.html.

Also allow TypedStrings as attribute values for the regular case where safe assignment only requires HTML-escaping. Previously it was inconsistent, SafeUrl and string.Const could be assigned to any attribute, but other types couldn't.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79339964
Minor performance improvement to the proto2 deserializer: break on the first regular expression that matches.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79345412
Closure base_test: goog.globalize(goog) considered ridiculous.

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79421949
goog.ui.DialogTest: tests should not make assumptions about the absolute number of iframes in a document.

Currently, goog.testing.TestCases that run for more than 200ms put themselves to sleep (using setTimeout) to avoid blocking the UI.

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79421969
Add missing HTML files for tests.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79551559
Closure: remove goog.ui.Popup.Corner (dead code).

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79580693
Fix a few nullable dereferences in Closure's base.js
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79681894
Remove Int8Array from functions wanting binary input

Specifying Int8Array as valid input is misleading as it suggests negative data
values will be handled in a meaningful way. This change does not entirely protect
a careless caller, as Array.<number> permits passing all sorts of invalid input,
but at least this removes a potential source of confusion.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79689957
Revert bad nullability change.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79765284
Defer to goog.labs.userAgent.product logic in goog.userAgent.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79767385
Add validation for parsed string shortcuts.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79775714
Normalize the key codes pulled from goog.events.KeyNames in the reverse key name map.

This removes a dependence on unspecified object iteration order, which could lead to registration failures for key names which have different key codes on different platforms (e.g. equals, semicolon, dash are different in Gecko).
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79778333
Add a capitalize function to Closure.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79799399
Support the "packed" metadata attribute in JavaScript proto2.

This CL updates the closure/proto2 API to add the "packed" metadata attribute for proto fields so annotated.

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79823682