JPA dependency upgraded to 2.0. Minor changes in comments.