fix generated UserRepository when using Java8 and MongoDB

Remove the Optional for the save method as it is not supported by CRUDRepository

Fix #884
fix generated UserRepository when using Java8 and MongoDB

Remove the Optional for the save method as it is not supported by CRUDRepository

Fix #884
Merge pull request #885 from mleneveut/master

Fix #884 : compilation error with Java8 and MongoDB