Make Bug and Flag serializable, methods checkBugzillaId() checkUpStreamPullRequestId() non static

Make Bug and Flag serializable, methods checkBugzillaId() checkUpStreamPullRequestId() non static