$I = \int^{2\pi}_0 \dfrac{d\theta}{2 - \cos \theta}$
This is straight from a book I'm reading, which suggests to convert $\cos\theta$ into $0.5(z+1/z)$ and then solve the integral on the unit circle. This is what I don't understand. The two singularities of this function are at $2\pm \sqrt 3$ and so the unit circle only encircles one of the singularities. The rest of the calculations I understand, but I just don't understand how you can decide to calculate this on the unit circle and not a circle of a different radius? My only idea is that changing the radius of the circle on which the contour integral is evaluated will shift the singularities appropriately, is this the case?
As an aside, is there a difference between the term "singularity" and "pole" in contour integration?
The substitution $\cos{\theta}=\frac{1}{2}(z+1/z)$ is actually $z=e^{i\theta}$, which, for $0<\theta<2\pi$, parametrises the circle $|z|=1$. This is a closed contour, so you can then evaluate the integral by looking at the one pole inside it.
Poles are a particular type of singularity, the ones that have an expansion with finitely many negative terms. Since you're only interested in the coefficient of $1/(z-z_0)$, yes, poles are basically the same as singularities: you're unlikely to have to deal with essential singularities, and removable ones don't do anything.