Adds Closure externs for Cache factory.

Namaste,

The Closure compiler renames methods like removeAll, get, etc as
defined on the cache object. This patch adds externs to prevent
the Closure compiler from renaming them.

Thank you.

Cheers,
Yesudeep.