Minor optimizations
Minor optimizations

- better alignment of  configCommand struct
- break up setConfig into constituent functions

Refs: http://pad.lv/1621576
Refs: spec https://goo.gl/yqrrPI

axw/juju,ericsnowcurrently/juju,AdamIsrael/juju,gabriel-samfira/juju,mikemccracken/juju,howbazaar/juju,frankban/juju,gabriel-samfira/juju,waigani/juju,anastasiamac/juju,mjs/juju,bac/juju,kat-co/juju,gabriel-samfira/juju,kat-co/juju,gabriel-samfira/juju,mjs/juju,macgreagoir/juju,howbazaar/juju,marcmolla/juju,perrito666/juju,bz2/juju,dimitern/juju,mikemccracken/juju,reedobrien/juju,macgreagoir/juju,reedobrien/juju,bz2/juju,kat-co/juju,ericsnowcurrently/juju,gabriel-samfira/juju,waigani/juju,alesstimec/juju,macgreagoir/juju,perrito666/juju,alesstimec/juju,marcmolla/juju,bz2/juju,bz2/juju,alesstimec/juju,mjs/juju,bac/juju,macgreagoir/juju,ericsnowcurrently/juju,mikemccracken/juju,kat-co/juju,axw/juju,axw/juju,axw/juju,frankban/juju,marcmolla/juju,anastasiamac/juju,howbazaar/juju,macgreagoir/juju,marcmolla/juju,dimitern/juju,perrito666/juju,dimitern/juju,bac/juju,anastasiamac/juju,waigani/juju,mikemccracken/juju,alesstimec/juju,alesstimec/juju,anastasiamac/juju,howbazaar/juju,AdamIsrael/juju,mjs/juju,reedobrien/juju,marcmolla/juju,reedobrien/juju,mjs/juju,dimitern/juju,kat-co/juju,reedobrien/juju,frankban/juju,AdamIsrael/juju,waigani/juju,axw/juju,howbazaar/juju,bac/juju,frankban/juju,mjs/juju,anastasiamac/juju,mjs/juju,bz2/juju,AdamIsrael/juju,bac/juju,frankban/juju,ericsnowcurrently/juju,perrito666/juju,dimitern/juju,mikemccracken/juju,perrito666/juju,ericsnowcurrently/juju