h2def.py: fixed generator in case of inline functions (bgo#736427)

    * tools/gen_scripts/h2def.py: removing inline methods body, removing
      'static' and 'inline' keywords in function declaration, avoiding
      double entries of the same method in generated *.def file by storing
      method's names in a Set collection.