REF: Support Python 3 using six.

This passes on Python 2.7 and 3.4 locally. It's unclear whether numba supports 3.4 yet; that's for another day.
these two lines should be merged to :
```
 labels = [label.track.indx for label_list in labels for label in label_list]  # flat
```