Map Ruby thread priorities (-3..3) to Java thread priorities.
Fix test for thread priorities that used Java values.
Merge remote-tracking branch 'origin/master'