Use the new method.
Internal issue IDs are different from the public ones in Gitea. The one used in URLs etc. is called "number" instead of "id" in hook payloads. fixes #33
Support for Gitea organization hooks, based on GitHub hooks code. closes #24