IdGenerator can now be initialised with 0 to get new id 1. Issue #3533 (3.x)

IdGenerator can now be initialised with 0 to get new id 1. Issue #3533 
- Created standalone unit test for IdGeneratorProxy
- Updated javadoc