Gerbes and twisted equivariant cohomology