Added some features to work with the newest v3 of Gitlab API

Line 43 is necessary if you have more than 20 projects (which I did)

Line 63 just wasn't working anymore without data like that.

Line 85 no longer uses closed=1 to close an issue.