New config api with support for dynamic keys

dx requested to merge dx/somewhat-more-dynamic-config into master

[I should write a proper description here, but there are comments in the source]

Tested with afl! Found stuff

It was an off by one when zero-terminating a buffer! Now it's ok!

Edited by dx

Merge request reports