Well yes , that is the way to go but you've made mistakes when evaluating the poles. I would write it a little bit different. Consider the function $\displaystyle f(z)=\frac{1}{(z^2+3)^3}$. In the upper half plane we you have only one pole , namely $z=i\sqrt{3}$ of order $3$. The residue there is
$$\mathfrak{Res}\left ( f; i \sqrt{3} \right )= \frac{1}{2}\lim_{z \rightarrow i \sqrt{3}} \frac{\mathrm{d^2} }{\mathrm{d} z^2} \left ( z-i \sqrt{3} \right )^3 f(z)= -\frac{i}{48 \sqrt{3}}$$
Now choose a semicircle as you contour in the upper half plane. The contour integral of $f$ is
$$\oint \limits_{C} f(z) \, {\rm d}z = -2\pi i \cdot \frac{i}{48 \sqrt{3}}= \frac{\pi}{24 \sqrt{3}}$$
The integral of the arc vanishes. (leave the details to you). Thus:
$$\int_{-\infty}^{\infty} \frac{{\rm d}x}{\left ( x^2+3 \right )^3} = \frac{\pi}{24 \sqrt{3}}$$