FORGE-867 Save JPA entities only on modifications.

A dirty bit is used to track whether the JPA entity is modified or not.
Merge pull request #312 from VineetReynolds/FORGE-867

FORGE-867 Save JPA entities only on modifications.
FORGE-572 Fixed bug involving annotations on properties

@Id annotation on fields was parsed correctly to obtain primary key metadata. The fix ensures the same even for @Id annotations on properties.
Merge pull request #313 from VineetReynolds/FORGE-572

FORGE-572 Fixed bug involving annotations on properties