Add South migrations, task retrying and some minor template tweaks