XD-1047: Allow agg counter to use a field in the message

Fixed Aggregate Counter to behave as was described in XD-1047.
Also added early validation for module options that are SpEL expressions