Support Python3

  - Switch C-modules used in `nkf.c` between Python 2 and Python 3 because
    C-API in Python 3 has changed from Python 2.
  - Modify syntax of print and raise function for Python 3.