fix: Translate ObjectId to string in derogation
add: Always field in time_conditions, if True the time_interval always match
fix: Improve actions function in derogation
fix: Get afield and avalue before logging
add: cstatemap object
add: cstatemap unittest
fix: statemap is a list not a dict
add: requalification in derogation
fix: Define correct type when initializing cstatemap record and fix get_mapped_state() when state is over list's length
Merge branch 'develop' into event-derogation