Fix misuse of issue index for issue id.

- UpdateAssignee
- UpdateIssueMilestone
Avoid setting missing label/milestone/assignee ids

Label, milestone, assignee ids are not includes in post request, possible
js or form building bug.
Merge pull request #579 from TonyTsangHK/dev

Fix misuse of issue index for issue id.