Refactor: libcrmcommon: Functionize adding option metadata
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>