Only use script parameters from definition

Passing parameters of a _single_ script into TopDownAnalyser makes no sense
ResolveSession caches script descriptors
Script parameters supported in LAZY mode
Support script return value field in LAZY mode
Script-related code extracted to subclasses