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.
why the change from relative to absolute imports?