Update for Py3k

I've made the necessary changes to get atlas-client working with Py3k. Let me know what you think!