fix #90 [OrmCore] updateEntity ignores int 0 values due to empty() function

Add UT on this case, rewrite some part of the update process
add version in the module's upgrade process
fix error in CitySkeleton Edition
fix UT 002/005