Fix deprecations in UI files, add a missing expand.
This makes the template test cases not crash. The templates also serve to test the new action widget support. https://bugzilla.gnome.org/show_bug.cgi?id=728846