adding code for todo and improve test

trim; test: confirming comments and student email team edited and saved
fixing of the issue and test passed

test passed, the added test code is to test trim function and parts
following it are not influenced
fixing of the test fail

should be all passing now
Merge remote-tracking branch 'origin/master' into Issue1808
refactoring of test

InstructorCourseStudentDetailsEditPageUiTest: refactored unclean code
change upon requests

refactored files. one more to go
Merge remote-tracking branch 'origin/master' into Issue1808
change of coding style

change of coding style; refactored out ugly strings
fixing of test fail in prev commit

"+ 1" added to generate string of length that is more than allowed
Merge branch 'master' into Issue1808
[1808] Clean up InstructorCourseStudentDetailsEditSaveAction

fixes #1808