Bug 1481499 - refactor whiteboard in commenter (#3887)
Bug 1481499 - refactor whiteboard in commenter (#3887)

* Bug 1481499 - refactor whiteboard in commenter
Refactor how bug_info is retrieved and whiteboard
status is assigned. Clean up other helper functions
including assign_priority and check_needswork, to
avoid passing in unnecessary variables. Add comments
for clarity as needed pertaining to whiteboard assignment.


edmorley/treeherder,KWierso/treeherder,edmorley/treeherder,KWierso/treeherder,KWierso/treeherder,KWierso/treeherder,edmorley/treeherder,edmorley/treeherder