[RestResourceIssueTracker] Implement REST API for IssueTrackerInfo

Add implementations of REST API for adding/updating/deleting IssueTrackerInfo.
Some other minor fixes are also included.

If the size is not exceeding 1 (that is, it is 0 or 1), empty() is more efficient.