Started working on affliction. I remain unsure about the proper use of Haunt and will have to look into that.
New branch, as the old one accidentally branched from the affliction issue.
Merge pull request #28 from emiln/priority/5.4-warlock-destruction

Warlock Destruction Priority List for 5.4. I will take the liberty of merging this despite also creating the pull request.
Added functions to get cast time of spells and remaining duration of a (de)buff on a target.
Added the empty function for getting the remaining duration of a totem.
With these changes, issue #2 is really getting somewhere.
Merge pull request #30 from emiln/priority/5.4-warlock-affliction

Warlock Affliction Priority List for 5.4
Added the function body for RemainingTotemDuration and fixed a couple of comments.
Added documentation of the new API functions.
Merge pull request #31 from emiln/API/5.4-spell-and-buff-functions

A couple of new functions to query spell cast times, remaining duration of (de)buffs, and remaining duration of totems.
Added a few simple nil checks.
I noticed that DotRefresh suffered the same issue. This closes #33 as far as I was able to test.
Added an image to the README.
Merge pull request #34 from emiln/bug/33-debuff-refresh-nil-value-comparison

Bug: DebuffRefresh and DotRefresh threw nil comparison errors
Refactored RemainingDuration into two separate functions and added error-handling.
Added WeaponEnchantRefresh function and renamed GetCastTime
Merge pull request #35 from emiln/API/5.4-spell-and-buff-functions

Refactored RemainingDuration into two separate functions and added error handling.
Merge remote-tracking branch 'origin/development' into priority/5.4-shaman-elemental