Don't purge caches until successful xml load has been achieved
use instance_id rather than programme_id
add a departments column to user table and pull it in from ldap
Merge pull request #759 from unikent/feature/add-dept-to-users

Add a departments column to user table and pull it in from ldap
Merge pull request #758 from unikent/hotfix/email-instanceid

use instance_id rather than programme_id
Merge pull request #760 from unikent/develop

Roll to live [For Tuesday]