change orm events for updateCalculatedProperties

Move the calls to updateCalculatedProperties from the preInsert and
preUpdate to postInsert and postUpdate orm events.
Fixed a couple more typos in the orderDelivery confirmation template.
Proposed fix for orderItem quantity issue.
datatype fix
Updated Version 3.4.005