Add ARGV.value

Add an ARGV.value method to address #17476

TODO:
* needs tests
* verify that receipts work
* verify that both --foo=bar and --foo bar work (and receipt properly)