Merge pull request #5 from soul2zimate/master

Make Bug and Flag serializable, methods checkBugzillaId() checkUpStreamPullRequestId() non static
Move checkBuildResult method to shared module.