Do append_tags_to_environment() in puavo-configure-client
in a separate function and do some input validation
(not all tags now go in).