Introduced caching of available columns in query service.

Solves problem of select2 not having available values when loading the columns modal.