compact_data_layer now supports LMDB; add codes tools/convert_imageset_compact.cpp to write JPEG images into LMDB