Issue#269 manual lending popup

You can now add teaching materials to a student.
Closes #269