Temporary commit.
1) added support for latency hints
2) fixed some bugs in GC.
3) support for buffered reads
GC still has problems - pb data not always freed for some reason, occasional read does not return expected data after GC, strange memory error when removing device. Also GC in swap-hint mode not tested. Will try to get most of this fixed ASAP