Create and Edit issues.

Implement issue create and modification to keep in sync with api v3.
It also cleans up the Request functions to remove duplicated code.