Add function to identify errata release_version and copy
errata yaml template to job

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>