Start refactoring DeckTasks.

Step 1: Remove trailing whitespace and basic formatting.
From here on, we should avoid accepting changes that mess up with this
file's formatting.