configstore: add utility library functions for configstore am: ad54c30863
am: 71e1808de8

Change-Id: I9acd3b567d8daa137f60eeb456e31be05e20a396