Honor targetEntity on OneToOne and OneToMany

Allows the targetEntity annotation attribute to be honored when specified in an appropriate SingularAttribute (ie OneToOne and OneToMany).

This is my first time using Git and GitHub so I apologize in advance if I've messed up the procedure in some way...