sync with FB version 2017-11-22
sync with FB version 2017-11-22

various bugfixes from github issues
kmean with some frozen centroids
GPU better tiling for large flat datasets
default AVX for vector ops

facebookresearch/faiss,facebookresearch/faiss,facebookresearch/faiss,facebookresearch/faiss