IdGenerator can now be initialised with 0 to get id 1. #3533

IdGenerator can now be initialised with 0 to get new id 1. Issue #3533
- Created standalone unit test for IdGeneratorProxy
- Updated javadoc
we have same test in IdGeneratorTest.java class, with name "testInitWhenAlreadyInitialized" , do we need this test?