[CM1-690] Create auto-close task in database

As a CaseMate user I want the system to automatically close cases  which has not been worked with for a pre-defined period of time

Because this would make sure that the cases which are not being worked on gets closed and anonymized (if I have this feature enabled).


Under Settings/Data anonymization, there is now an option to define the time period when cases should be Closed and also Fully deleted. A script runs once a day to check and the closing of a case will be logged in Audit trail. It is not needed to Sign actions before the cases can be closed when using this function.