Let ω be a complex number such that ω7=1 and ω≠1. Let α=ω+ω2+ω4 and β=ω3+ω5+ω6. Then α and β are roots of the quadratic x2+px+q=0 for some integers p and q. Find the ordered pair (p,q).
(p,q) = (8,-5).