Refactored the task history support added by jennever@foursquare.com
Merge pull request #142 from erikbern/task-history-refactoring

Refactored the task history support added by JoeEnnever