Change the argument order of evolve logic functions to be root, registry.

Added explicit tests that call an "evolve logic function" with the new API,
and without (supporting BBB).
Issue a warning (via the stdlib warnings module) when an evolve logic function
is detected as taking only one argument.