added 2d testcase for mergeLabels
export python bindigs for 1d-3d, unit test for them
more type tests, correct handling of numpy array scalars