增加了日志保存的控制，PrimaryObject的子类可以覆盖savelog返回值控制是否保存日志

Signed-off-by: ghuazh <ghuazh@gmail.com>
Merge branch 'master' of https://github.com/sgewuhan/pm.git