Added Python 3 compatibility

Requires six, but no code modifications. Also cleaned up Space (using default arguments)
Made is_integer py2/py3 compatible

It now also accepts numpy integers
Merge branch 'py3'