Started working on affliction. I remain unsure about the proper use of Haunt and will have to look into that.
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.
Started working on #36. It now features a new description frame.
#36 is now just about complete. I managed to ruin the frame dragging, but it looks quite pleasing now.
#36 is now implemented. I added transparency while dragging.
Implemented graceful handling of errrors in priority lists for issue #37.