1. some calloc fix 2. fix some document error 3. refactor kv API, to be compatible with ota API
see: doc/20.In_Application_Programming_based_EVB_MX_Plus.md