Implemented basic priority scheduling

Laid out some of the groundwork to get render nodes to select jobs by
priority. Wrote named constants for all the various status choices that
jobs, rendertasks, and rendernodes have. Wrote in some comments to help
tell the story of what the code is doing. More to come.