Implement setpriority

This gets firefox23 to start up and run.

But, something seems to go wrong when it's shut down; the firefox process uses ~100% CPU for a while.  Not sure what's up there yet, problem for another day!