Fix the test_app_server build.
Simple test harness for app_server tests

This was developped for the transformations test, but can be used for
other tests too. Extract the relevant classes to a separate file.
Add a test for radial gradients.

* This shows that the radius is ignored and all gradients are drwan with
a radius of 100.
Draw radial gradients using the proper radius.