Refactor hs configuration parsing

We accidentally duplicate a lot of our configuration parsing logic for our hs_config.c stuff. We should use our confmgt code instead, to detect duplicate options, malformed options, and so on.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information