reverting back to Chao's bugzilla interface
Merge pull request #1 from istudens/master

reverting back to Chao's bugzilla interface
Fix some FIXMEs:
- Some pull request closed without change state to 'merged'.Therefore, checking state equals 'closed'.
- Allow pull request relates to multi upstream pull request or bugzilla issue.
- Use .equals() to check flag status.