Grand Strategy Priority Ratio extension

More functions will now make use of grand strategy priority ratios
instead of just checking the active grand strategy.