Replicate method and event listener changes

@eric79, this is the two existing PRs,

  - Replicate method changes  (https://github.com/virtual-world-framework/vwf/pull/276)
  - Replicate event listener changes (https://github.com/virtual-world-framework/vwf/pull/292)

plus the `preserve-script-closures` compatibility option, and method and event listener replication tests.

Ah, I see.  That makes sense.  I hadn't realized that.  I might have gotten a little more of a sense of that if it had been named something like `eventParametersPerNode` or something.  Thoughts?