Heavily refactor code to allow for customised post-build tasks.
Implement chaining of tasks.
Make sure we chain the job.pk and build.pk
Cleanup.
Work in progress.