Powerful p-groups have non-inner automorphisms of order p and some cohomology