Pending tasks resources calculated properly
Follow go naming convention
Merge pull request #102 from soundcloud/pending-task

Fix calculating host resources