Work on bug #7780.  I added encodePriority() and decodePriority().  These functions change runs/second int priority numbers and back again.  These will be the foundation of making all of the drivers be in runs/second.