[JENKINS-23462] Sectioned views are not evaluated for job priority 

 * Need to use getItems() not getItem() to get the items in the View
 * Added test-case for Sectioned View Plugin