[MRG] cythonize fill_hist

cythonize fill_hist, reorganize pyx, and link everything into one library.