Close #386
Makes way to check if study records are published/archived that are using this teacher.
Merge remote-tracking branch 'upstream/development' into development
Close #386
Fixes check on New Teacher creation.