core: add execute_one_command.

N/A

execute_one_command:
  This function will get a command from actions queue and execute it.

Change-Id: I59ca305b34d9001817d232019500229b19aa15e2
Signed-off-by: liminghao <liminghao@xiaomi.com>