update to bf6a829a: initialize klass view with context if factory is given

note that this clashes with the way cornice 'abuses' the factory argument (for acls) so we explicitly check for the presence of acls as well.