Corrected mistakes in the tutorial.

Ordered the entities to be written by the reader, in a more
logical manner.

Corrected code listings of JPA entities. Corrected the Data
Persistence chapter to include missing entities.