$\int dk |F(k)|^2= \int dk \int dx' \int dx'' f(x')f^*(x'')e^{-ik(x'-x'')}$ because $|F(k)|^2=F(k)F^*(k)$. Integrating over $k$ yields:
$\int dk |F(k)|^2 = \int dx' \int dx'' f(x')f^*(x'') \frac{[e^{-ik(x'-x'')}]_{- \infty}^\infty}{i(x''-x')}$.
Substitution: $z=x''-x'$. Now the Tools from complex Analysis can be used: The integral over the whole real axis can be Extended to a contour integral over the upper-half circle and the real axis (the path is $C$). The half-circle integral vanishes because $z^{-1} \rightarrow 0$ as $z \rightarrow \infty$. Therefore one is left with the following contour integral:
$\int dx' \int dx'' f(x')f^*(x'') \frac{[e^{-ik(x'-x'')}]_{- \infty}^\infty}{i(x''-x')} = \int dx' f(x') \oint_C dz f^*(x'+z) \frac{[e^{ikz}]_{- \infty}^\infty}{iz}$.
Using the residue Theorem (Attention: The pole lies on $C$!) and elementary trigonometry you have:
$\int dx' f(x') \oint_C dz f^*(x'+z) \frac{[e^{ikz}]_{- \infty}^\infty}{iz} = \int dx' f(x') f^*(x') \pi i \frac{\lim_{z \rightarrow 0, k \rightarrow \infty} 2sin(zk)}{i} =$
$2 \pi \int dx' |f(x')|^2 \lim_{z \rightarrow 0, k \rightarrow \infty} sin(zk) = 2 \pi \lim_{z \rightarrow 0, k \rightarrow \infty} sin(zk)$