Turns out the new problem handling code didn't take into account that
the refresh was asynchronous. I've created a macro to handle it, both
for eclim-problems-compilation-buffer and eclim-problems.