fix UTF-8
remove typedef, use numpy type in its place
add casts to suppress compiler warnings
move _histogram.h to _shared/vectorized_ops.h, and copyright info to CONTRIBUTORS.txt