Introduce CNodePolicy for putting isolated node policy code and parameters on

Initially populated with policy-specific code moved from AcceptToMemoryPool.

This should make no *actual* changes, just refactor code. If any change in behaviour is found, it is a bug in this pull request, please report it even if you think it's a good idea.
Right, the pass by reference was what I was missing.  LGTM then.