Document that AUTOGENERATE_ constants are allowed
Merge pull request #1190 from c960657/autogenerate-integer

Document that AUTOGENERATE_ constants are allowed
Fixed associations using a value-conversion type for identifiers
Removed DDC-3380 mentions in production code
Abstracted infering binding types away in a helper
Refined and added tests, fixed found issues

- Renamed id properties so they don't coexist between entities in a test
- Added tests for extra lazy one-to-many associations
- Fixed production code to make tests green
Add tests for extra lazy many-to-many associations

and fixed production code