OvalePool and OvalePoolRefCount share the same API for a reason.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1503 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Add new Profiler module to allow basic profiling of Ovale code.

To get profiling stats for a function, execute Profiler:Start(tag) at the
head of the function and Profiler:Stop(tag) before exiting the function,
where "tag" is a unique label to track.

Everything that happens in-between Start/Stop is attributed to the given
tag.  If a profiled function calls another profiled function, then the
time spent within the called function is not charged to the calling
function.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1504 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Instrument some profiling code into Ovale using the Profiler module.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1505 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Death Knight: Don't cap resources on Blood DKs when using Blood Tap.

Reduce the trigger for using Blood Tap from the maximum 12 Blood Charge
stacks down to 10, and don't waste runic power by using Death Strike at 90
runic power.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1506 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Paladin: Mastery > stats when giving out raid buffs.

This fixes ticket 374 by @Draugrs, who noted the error.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1507 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix SimC translation of some "react" buffs to use BuffStacks().

Most usage of "buff.name.react" is interpreted as
"BuffPresent(name_buff)", but there are some cases where it really wants
"BuffStacks(name_buff)".  Fix the few cases where this happens.

This fixes ticket 375 by @only1yzerman that noted a problem with using up
Maelstrom Weapon stacks on enhancement shamans.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1508 d5049fe3-3747-40f7-a4b5-f36d6801af5f