Add Python3 support

Long awaited py3k support is here.
Should try python 3 first, then fall back to python 2 `;)`