Removed threads & async API in CompilationDatabase

This is not needed anymore; the server request merely blocks when waiting for
flags.