Add filter for training data

Filtering the train cases for relays to only keep the cases that is not followed by another case for at least one minute
Auto-enable autonomous mode after delay if manual state change