[TENAC-21] prepare for optinal aggregateType in denormalizer functions
[TENAC-21] aggregateType is now optional when registering denormalizer functions.
aggregateType is now optional on events and commands