Fix AssociationContracts.BiDirOneToMany and AssociationContracts.BiDirManyToOne.
Cleanup code. Fix StyleCop warnings.