Also split out deviceConfig set and get to a separate module to avoid circular dependencies. Change-Type: patch Signed-off-by: Pablo Carranza Velez <pablo@resin.io>