Compare two arrays by key. Return added, updated and removed.