add lmdb support for convert_imageset
add lmdb support for compute_image_mean