fix JPA annotations to properly cascade persistence to the OneToMany.
add example use case for the JAX RS 2.0 HATEOAS.