Guarantee DV_KIND comes before DV_PARAM in options

This makes sure DV_KIND comes before DV_PARAM when a config file is
output by the python scripts. The python dict passed to update doesn't
guarantee order. This issue occured when DV_KIND and DV_PARAM
were not previously defined in a config file passed to
shape_optimization.py