Python3 fixes:

- Use either func_code or __code__ for function object depending on python version.
  Can't use 2to3 because it wants to change other func_code symbols defined in numba
- Change node lineno default from None to -1, since sorting mix of None and int objects doesn't work in python3