Miscellaneous Java cleanups/simplifications
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82380174
Add iterator/generator to es6.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82436025
Use try-with-resource where possible
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82436568
Remove dead code.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82439884
JSCompiler CheckAccessControls: record current class even in nested scopes.

Fixes https://github.com/google/closure-compiler/issues/738.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82441721
Add a preconditions check to help debug
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82443222
Treat "?T" the same as "T|null", even if T is a template type.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82444269
Add missing second argument to the type of validation function of $validators extern.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82448944
Automated g4 rollback of changelist 82444611.

*** Reason for rollback ***

Typo in ui.router.state.$state.GoOptions_ causing breakages.

*** Original change description ***

Merge pull request #744 from dlochrie/master

Added more properties/types to the angular_ui_router.js externs.

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

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82449441
Be explicit about using UTF-8 rather than relying on default charset.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82461376
[NEW TYPE INFERENCE] Fix formatting-related lint errors in NewTypeInferenceTest
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82465428