Added states for Event:
1. INITIALIZED: default state when event is created
2. BUILDING: some artifacts are found and under building.
3. COMPLETE: event is handled successfully.
4. FAILED: there is error happens while handling the event.
5. SKIPPED: no action to be taken upon the event, e.g. no ArtifactBuild to be built according to the
blacklist/whitelist policy.
And create event in db for the manual rebuild case to track event status.
Added states for Event:
1. INITIALIZED: default state when event is created
2. BUILDING: some artifacts are found and under building.
3. COMPLETE: event is handled successfully.
4. FAILED: there is error happens while handling the event.
5. SKIPPED: no action to be taken upon the event, e.g. no ArtifactBuild to be built according to the
blacklist/whitelist policy.
And create event in db for the manual rebuild case to track event status.
FIXES: #137