Fixes #6195, bz1109386 - 403 on cv version delete

Content view remove call specifying versions and envs to be removed / unasssociated
had a minor glitch -> env_ids - @view.environment_ids.map(&:to_s)).empty?
env_ids = [1,2,3]  while @view.environment_ids.map(&:to_s) = [1,2,3]
Problem was API was treating it like a list of strings while params code changed it to ints
This commit should fix that issue
@ehelms  I can change it to be self contained if you prefer, but the way we have it here .. It is intended to be used as a mixin. So I think it is ok to have the class including this to provide me the  methods to set @view and @evironment.