Make DeckTask a bit more defensive.

Add an easy way to check things are called from the right task and add
that to DeckTask.

Add an easy way to log methods being called.
Merge pull request #30 from flerda/defensive

Make DeckTask a bit more defensive.