Add fix for https://github.com/google/closure-library/issues/500
Add fix for https://github.com/google/closure-library/issues/500

Could probably use some algorithmic optimizations.

gfredericks/goog-integer