Several fixes in the ways PR comments are stored

* Make sure the pullreq_id field is an number
* Process all comments and store them to the DB