GlobalInt: No longer caching value and add missing operators
Instead, GlobalInt will act like a function wrapper, so that multiple
instances can modify/use the same global variable without worrying about
cache inconsistencies.