libsmbconf: move the non-registry parts of libsmbconf to top level