Adding support for closing stories when not done from github

Github only sends open issues with the api as standard, so do a diff of the issues in db and the ones we receive and mark them as closed