[skip ci] Inventory api: interpolation + group by time sequence
TODO:
- proper name one_for_all / all_or_nothing interpolations
- add interpolation support to getMovementHistoryList
- cleanup the changes in SimulationTool
- demonstrate a use in erp5_project or erp5_calendar
- SimulationTool_zGetInterpolationMethod should be usable by anonymous. Check missing tests for anonymous use of inventory API. ( changed SimulationTool_zGetInterpolationMethod use database method to Anonymous )
Discussion vincent:
- names interpolation: floor, ceil, greedy
- group_by_sequence_dict = {'key1': {'from_date': ...}, 'key2':}