Created by: tyvsmith
Reviving https://github.com/facebook/buck/pull/2152 and addressing previous feedback (adding a test). Was unable to push to that, because Zac's original fork is deleted.
These match the configurable JVM arguments in other build systems and better match naming conventions. Note that much of this logic is borrowed from OkBuck, where we already extract these arguments from gradle configurations
CC @ZacSweers @kageiit @raviagarwal7 @styurin