Fix test failure due to change in argument order in expect_equal

* must tag info argument now
Fix RunCmdForNewerInput when expression uses variables from caller's environment

* this is a pretty standard thing to want to do e.g. using RunCmdForNewerInput
  to evaluate a function with arguments (possibly inside another function)
* includes tests for this behaviour
* improve help, including this information