[libsocialcache] Added a method for querying accounts

I suppose the best solution would be to turn it into async call same way as other queries. If I cache it in ctor, prepare() will still be called once per each buteo sync, just from different place, but I would introduce that delay to other places where it will never be needed, such as Gallery startup.