Added logfile attachent to error email
Fixed relationship sync to properly deal with non parental
student/contact relations
by using the 'Other' relationship type.