#9 python 3 compatibility

I've added python 3 compatibility.

You can see how tests are passing here: https://travis-ci.org/magmax/pyspecs

It works in python 2.7, 3.2 and 3.3. I understand it doesn't worth it to add 2.6 compatibility.