According to Wolfram MathWorld, the delta function can be defined in terms of a Fourier Transform as $\delta(x) = \mathcal{F}_k[1](x) = \int_{-\infty}^{\infty} e^{-2\pi ikx}dk$, which can be expressed as $\delta(\omega) = \frac{1}{2\pi}\int_{-\infty}^{\infty}e^{-i\omega t}dt$ using a change of variables.
Also according to Wolfram Mathworld(Sorry for the lack of reference. I was only allowed two. Just google "wolfram fourier transform"), the Fourier Transform and Inverse Fourier Transform can be defined as $$H(\omega) = \mathcal{F}[h(t)] = \int_{-\infty}^{\infty}h(t)e^{-i\omega t}dt \tag{1} \label{1}$$ and $$h(t) = \mathcal{F}^{-1}[H(\omega)] = \frac{1}{2\pi}\int_{-\infty}^{\infty}H(\omega)e^{i\omega t}d\omega \tag{2} \label{2}$$ respectively.
Given a function $H(\omega) = 2\pi\frac{\delta(\omega)}{e^{i\omega}-1}$, how do you find its Inverse Fourier Transform, $\mathcal{F}^{-1}[H(\omega)]$? According to $(\ref{2})$, the Inverse Fourier Transform is given by $$h(t) = \frac{1}{2\pi}\int_{-\infty}^{\infty}2\pi\frac{\delta(\omega)}{e^{i\omega}-1}e^{i\omega t}d\omega. \tag{3} \label{3}$$
Usually with integrals that I have encountered involving the delta function, the sifting property (also described in Wolfram MathWorld) can be used. However, in this case, according to my understanding, the sifting property cannot be used because the function in the integrand multiplying the delta function, namely $\frac{2\pi e^{i\omega t}}{e^{i\omega}-1}$, is not sufficiently smooth at $\omega = 0$ (the limit from the left and the limit from the right are not equal). How then can $(\ref{3})$ be evaluated? Using Wolfram Alpha the answer is shown to be $h(t) = t - \frac{1}{2}$.
I believe I've found an acceptable answer. Starting with the expression for $H(\omega)$, $$H(\omega) = 2\pi\frac{\delta(\omega)}{e^{i\omega}-1},$$ this can be split into real and imaginary parts by first multiplying the numerator and denominator by the complex conjugate of the denominator, namely $$H(\omega) = 2\pi\frac{\delta(\omega)}{e^{i\omega}-1}\frac{e^{-i\omega}-1}{e^{-i\omega}-1} = 2\pi(e^{-i\omega}-1)\frac{\delta(\omega)}{2-2\cos(\omega)},$$ where Euler's formula has been used. Using Euler's formula again we get $$H(\omega) = 2\pi(\cos(\omega)-1 - i\sin(\omega))\frac{\delta(\omega)}{2-2\cos(\omega)}.$$ Distributing yields $$H(\omega) = \pi\delta(\omega)\frac{\cos(\omega)-1}{1-\cos(\omega)} - \pi i\delta(\omega)\frac{\sin(\omega)}{1-\cos(\omega)} = -\pi\delta(\omega)- \pi i\delta(\omega)\frac{\sin(\omega)}{1-\cos(\omega)}.$$ The trick is to note that since $\delta(\omega) = 0$ for all $\omega \ne 0$, then small angle approximations can be used (since the second term will therefore be $0$ except at $\omega = 0$) and, I think, become exact. Using these small angle "approximations" yields $$H(\omega) = -\pi\delta(\omega) - \pi i\delta(\omega)\frac{\omega}{1-(1-\frac{\omega^2}{2})} = -\pi\delta(\omega) - 2\pi i\frac{\delta(\omega)}{\omega}.$$ According to Wolfram MathWorld, $-\frac{\delta(\omega)}{\omega} = \delta'(\omega)$. Using this yields $$H(\omega) = -\pi\delta(\omega) + 2\pi i\delta'(\omega),$$ which can be recognized as the Fourier transform of $$h(t) = t - \frac{1}{2}.$$
Update:
I've been able to solve similar problems by using Taylor or Laurent series expansions for terms multiplied by $\delta(\omega)$. Then since $\delta(\omega)$ is only nonzero where $\omega = 0$, the terms with positive powers of $\omega$ ,i.e. $\omega^1, \omega^2,...$, disappear and the terms with negative powers remain ($\omega^{-1}, \omega^{-2},...$).