[library] Use ConcurrentHashMap to hold item requests
[library] Properly wrap adapter when setting item manager
[samples] Use proper grid view layout in the gallery app