Standard security calculation to check if Assignment is expired or not
security calculation checks the validation state of the Assignment, but it should also check if it is expired or not started yet.
This merge request applies fix, extending tests to re-produce and test the situation. Also, a cleanup in erp5_core: extension.erp5.StandardSecurity.