FORGE-1060 Fixed failing tests.
FORGE-1060 Option to choose REST resource generation strategy

Users can now choose between the default JPA entity backed REST
resources or the new DTO-backed REST resources.

Also fixed existing tests.