Fixes #3607 : Latest commit restoration now works again with the API
Merge pull request #217 from VinceMacBuche/bug_3607/fix_last_commit_api

Fixes #3607 : Latest commit restoration now works again with the API
Merge branch 'branches/rudder/2.4' into branches/rudder/2.5

Conflicts:
	rudder-core/src/main/scala/com/normation/rudder/repository/ItemArchiveManager.scala
	rudder-core/src/main/scala/com/normation/rudder/repository/xml/ItemArchiveManagerImpl.scala