improve validation, usability of new subject page, remove inline edit (still keep js-css files), fix bug with navbar-teacher relate