Tweak how profile overrides are processed, and add testcase for it.

These tweaks make it easier for profiles to override part of the default
.awsbox.json configuration while leaving other parts of intact.