PyInt as long solution

Solved the PyIntasLong bug, where this data type is no longer supported in python 3
Also changed some values in setup.py to go with the latest version of ipopt