[libutil] Made KvpDB threadafe.
[libhttp] Fixed typo in ResTemplate constructor.