Merged archiving branch.

This is a squashed commit of the following:

commit 281e55ace0d480daa8339e1f9f4cd85685536c6c
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Tue Apr 29 10:46:45 2014 +0100

    Fix authenticated artifact fetching.

commit 0fd3b9611ac7bcd5990d2aee189693d8d4f71057
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Tue Apr 29 09:34:28 2014 +0100

    Fix for view postprocessing of builds.

commit daceb11d1e07b0a4138c11a4386ff4a067b9204a
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 25 10:43:28 2014 +0100

    Remove build id from path.

commit e0b6de6d5174bcb6ce773eb98e6768aef7157104
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 25 10:22:38 2014 +0100

    Fix a couple of failing tests.

commit f51ea8b6d332a687ca246489afc09bd11ecb6ece
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 25 10:18:43 2014 +0100

    Initial build phase complete.

commit 607154ece8976e1c3bf6fe91afeef75ac5e1053c
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 25 09:25:30 2014 +0100

    We don't need to supply the job.pk because we can get it from the build.

commit fcb874917e0329829ce5443f7270dd9824f70c7a
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 25 07:48:29 2014 +0100

    Tidy up post-slugification.

commit f0ed64dc24a8e9694b93423ed54b6c31b317b72a
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 24 17:39:01 2014 +0100

    Work in progress.

commit cd0391d61ef2c84d3855c57669193346ca2ab6e0
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 24 13:01:31 2014 +0100

    Cleanup.

commit 449554a93e7adb3a15fc524d0b9ae31c72018623
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 24 11:53:17 2014 +0100

    Make sure we chain the job.pk and build.pk

commit 1c8f9d46c468626f41a22d8ab0dcf4a38e90b0e3
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 24 11:21:51 2014 +0100

    Implement chaining of tasks.

commit e355e6f63bb12a23bcd6e2735f8efca0da2f13ff
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 24 08:10:06 2014 +0100

    Heavily refactor code to allow for customised post-build tasks.

commit fb77f77bbd1f2dd6c9d1e2c0904f482c5f7729cd
Merge: 4903e84 a821771
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Wed Apr 23 16:03:47 2014 +0100

    Merge branch 'master' into archiving

commit 4903e84497831f3fd29bf2e0ea7db9def2e6f752
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Wed Apr 23 14:50:03 2014 +0100

    Work in progress.

commit c072108f8f96a1475992fd3b303f33ef69e873c3
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Wed Apr 23 08:57:38 2014 +0100

    Remove the manual archiving for now.

commit b8df309c297c7e9e549d337d4957d4e3d9888664
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Wed Apr 23 08:18:18 2014 +0100

    Add missing migration.

commit 9f515ce466b0700a109866968a91b97a61a86eec
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Wed Apr 23 08:15:02 2014 +0100

    Task implemented.

commit 417a0ffe85aa7628a22dc868a2b4f407d5e5ae27
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Tue Apr 22 16:51:57 2014 +0100

    Rework transport.

commit 0730d5519de3ed0d65558df450dd68618fb96a97
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Tue Apr 22 13:59:29 2014 +0100

    Add missing sftpclient.

commit 83d2477a664d771b0e66e1e68f8901759dc8596c
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Tue Apr 22 13:59:17 2014 +0100

    Work in progress.

commit 00d9984ecabc343ce78b2b238984dd85090aa4dd
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Tue Apr 22 12:02:47 2014 +0100

    Work in progress.

commit d9ded29fe8a4c809bfc6b506267af819fd4cf2fd
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 17 20:36:21 2014 +0100

    Add work in progress.

commit d5cfaed57a198938fd8b26e9718337a805d39afe
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 17 14:58:08 2014 +0100

    Remove new.

commit cd62c15e9c64e4170521160404f781bd1295a183
Merge: 704f4fc 34eba1c
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 17 14:57:56 2014 +0100

    Merge branch 'archiving' of github.com:bigkevmcd/capomastro into archiving

commit 704f4fc8fe15b71fe52a5dc2043f3d66b8fe241d
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 17 14:04:44 2014 +0100

    Work in progress.

commit aceac4850e4b445f9c2781ade663cca798585333
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 17 14:04:03 2014 +0100

    Work in progress.

commit be86b8d6c09784d36f4f071e4605f8b7a8c30cd5
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Thu Apr 17 07:28:45 2014 +0100

    Add archiving of projectbuilds.

commit 836a54e8b66326a4848e8723a47d7e86489a9833
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Wed Apr 16 17:02:20 2014 +0100

    Work in progress.

commit 974f3c5c0b362768b9e23abffc3bbadd085f93f4
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 11 17:33:30 2014 +0100

    Work in progress.

    Work in progress.

    Working tests for the policy.

    Work in progress.

commit a5d6dab38e31652bdda62e2ce51f175bcd5bb81e
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 11 17:33:30 2014 +0100

    Work in progress.

commit 34eba1cd4f00d8fef6e3fc912fdc6e6199f4c239
Author: Kevin McDermott <kevin@bigkevmcd.com>
Date:   Fri Apr 11 17:33:30 2014 +0100

    Work in progress.