Added extraInitOptions to MongoRepository init

- Added IntIdGenerator
- EnsureIndex & EnsureUniqueIndex moved out to HelperExtensions
- Test added for extraInitOptions