Part 4: Improve generated rest resources. Generate stub rest actions.

This one is null safe. GWT's introspection methods sometimes returned me null arrays...