eliminated some magic numbers and added explicit static casts; updates #54'
eliminated some magic numbers and added explicit static casts; updates #54'

ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit