Added Error codes to TeacherResourceImpl.
Merge remote-tracking branch 'origin/master'