add utils
the autoset rowid now can stored in sorm struct
fix a bug in sorm.c
allocator classified into USR and SYS