Move from distribute to setuptools

The distribute and setuptools projects have merged, and distribute
is officially deprecated. This changeset removes the use of distribute,
and especially the dependency on distribute that causes the issue
reported as bug 147.

Change-Id: I7398420c84314e9ff88880ad18f19b1939254a41