buffet: Moved LoadJsonDict() function into buffet/utils.h

Moved LoadJsonDict from CommandManager class into a separate
header file as a stand-alone function so that it can be
used by itself.

This function will come in handy when implementing device
state management.

BUG=chromium:415364
TEST=FEATURES=test emerge-link buffet

Change-Id: Ie818a811989d82e4b092e399ca136e15276ab453
Reviewed-on: https://chromium-review.googlesource.com/219134
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
7 files changed
tree: 3e920172f8e82e461298c1d9068c285616c4fddc
  1. buffet/