tests/examples: Replace some use of deprecated API.

For instance, replacing get_default() with create(),
replacing add_actor() with add_child(),
replacing set_color() with set_background_color(),
replacing Group with Actor,
replacing set_rotation() with set_rotation_angle() and
set_pivot_point().