Bug fix to allow publish task to complete

The top level deferred was being added to the processes
list rather than it's promise. This meant grunt was not waiting for the
top level deferred to be resolved before quitting. Typical error:
"Error: Process exited before Archiver could finish emitting data"
Merge pull request #10 from ITV/publish-bug

Bug fix to allow publish task to complete