Extract status categorization to a helper
Extract status categorization to a helper

Epic stat summarization will use the same status categories as the logic
to determine a color. This results in higher-level statuses than what is
needed for workflow.

andrei-m/jira-graph,andrei-m/jira-graph,andrei-m/jira-graph