Fix ensure_new_type's handling of longs.
Fix ensure_new_type's handling of longs.

This handles ints as input, but not longs, which causes test failures on
32-bit systems (and possibly 64-bit if you pick a large enough number).

michaelpacer/python-future,QuLogic/python-future,michaelpacer/python-future,PythonCharmers/python-future,PythonCharmers/python-future,krischer/python-future,krischer/python-future,QuLogic/python-future