Partial revert of last priority multifactor patch to rename
_apply_priority_weights() back to _get_priority_internal() and have that
function call _set_priority_factors instead of having that called outside
of the function.

This also makes it so _set_priority_factors isn't called on jobs with
direct_set_prio or jobs's without a details ptr.
multifactor priority memset job_ptr->prio_factors to 0 if direct_set_prio
is set or details ptr isn't on the job.
minor formatting
Rewrite to make sure fairshare=parent works if there are more than 1 layer
in the association tree with fairshare=parent
Fix Ticket Based priority/multifactor when associations have
fairshare=parent
Changes to earlier commit to fix fairshare=parent
More fixing to allow fairshare=parent to work correctly for multiple
levels of accounts with fairshare=parent
Missed one from 2 commits before
New debug set in for figuring out the level shares and such.
Add new test to test for fairshare=parent
Add test to the makefile
Merge remote-tracking branch 'origin/slurm-14.03'
Further generalize commit 76082c30b4ae04.
select/cons_res: Improve logging
select/cons_res node count <= task count
Initial implementation of the LEVEL_BASED priority algo from BYU.
Fix assoc_mgr to use new fs_assoc_ptr
Fix typecase of uint16_t to NO_VAL
Fix packing issues
Remove unneeded variable