Add br_add_template_to_gallery to C API
Update brpy script to changes in acc04206