Did some additional refactoring - added code common to script related features to RicScriptFeatureImpl.