Fix bug where getStoreDef was passing required/preferred reads/writes in the wrong order.
Fix bug where getStoreDef was passing required/preferred reads/writes in the wrong order.

Also change its own parameters to match the order of StoreDefinition's constructor.
No other code needs to be changed as all callers pass the same value for preferred
and required. It's probably why the bug has not been noticed until now.
arunthirupathi/voldemort,LeoYao/voldemort,mabh/voldemort,HB-SI/voldemort,medallia/voldemort,PratikDeshpande/voldemort,FelixGV/voldemort,bhasudha/voldemort,jeffpc/voldemort,voldemort/voldemort,null-exception/voldemort,cshaxu/voldemort,jwlent55/voldemort,stotch/voldemort,jalkjaer/voldemort,jwlent55/voldemort,birendraa/voldemort,gnb/voldemort,FelixGV/voldemort,gnb/voldemort,jalkjaer/voldemort,rickbw/voldemort,jeffpc/voldemort,HB-SI/voldemort,voldemort/voldemort,PratikDeshpande/voldemort,cshaxu/voldemort,arunthirupathi/voldemort,medallia/voldemort,cshaxu/voldemort,voldemort/voldemort,bitti/voldemort,FelixGV/voldemort,LeoYao/voldemort,voldemort/voldemort,dallasmarlow/voldemort,null-exception/voldemort,rickbw/voldemort,squarY/voldemort,stotch/voldemort,FelixGV/voldemort,bhasudha/voldemort,voldemort/voldemort,cshaxu/voldemort,bitti/voldemort,voldemort/voldemort,bitti/voldemort,arunthirupathi/voldemort,dallasmarlow/voldemort,rickbw/voldemort,bhasudha/voldemort,FelixGV/voldemort,medallia/voldemort,PratikDeshpande/voldemort,arunthirupathi/voldemort,dallasmarlow/voldemort,mabh/voldemort,null-exception/voldemort,jalkjaer/voldemort,birendraa/voldemort,LeoYao/voldemort,HB-SI/voldemort,medallia/voldemort,jwlent55/voldemort,cshaxu/voldemort,medallia/voldemort,mabh/voldemort,HB-SI/voldemort,stotch/voldemort,rickbw/voldemort,jwlent55/voldemort,gnb/voldemort,jeffpc/voldemort,squarY/voldemort,medallia/voldemort,LeoYao/voldemort,HB-SI/voldemort,dallasmarlow/voldemort,arunthirupathi/voldemort,birendraa/voldemort,stotch/voldemort,PratikDeshpande/voldemort,jeffpc/voldemort,birendraa/voldemort,FelixGV/voldemort,jeffpc/voldemort,squarY/voldemort,mabh/voldemort,jalkjaer/voldemort,PratikDeshpande/voldemort,squarY/voldemort,squarY/voldemort,arunthirupathi/voldemort,mabh/voldemort,null-exception/voldemort,LeoYao/voldemort,jalkjaer/voldemort,bitti/voldemort,rickbw/voldemort,jalkjaer/voldemort,null-exception/voldemort,jeffpc/voldemort,dallasmarlow/voldemort,FelixGV/voldemort,jwlent55/voldemort,bitti/voldemort,mabh/voldemort,PratikDeshpande/voldemort,voldemort/voldemort,stotch/voldemort,birendraa/voldemort,squarY/voldemort,squarY/voldemort,bhasudha/voldemort,rickbw/voldemort,gnb/voldemort,stotch/voldemort,gnb/voldemort,arunthirupathi/voldemort,jwlent55/voldemort,bitti/voldemort,bitti/voldemort,gnb/voldemort,bhasudha/voldemort,bhasudha/voldemort,null-exception/voldemort,cshaxu/voldemort,LeoYao/voldemort,HB-SI/voldemort,jalkjaer/voldemort,birendraa/voldemort,dallasmarlow/voldemort