core: Redesigned scheme details API

varnam_set_scheme_details will take a struct with all the scheme details
rather than adding parameters for each metadata key.

This commit also adds a `stable` metadata which can be used to indicate
stability of the scheme file