[api] refactor issue tracker a bit
[api] fix revoke/decline open requests on package removal