Many small things see desc

Made typecasting safer in MainController
Made the id of DocumentController an int oinstead of String
Deleted generateKey() returns apa
Added curPath in IOController
Deleted null-sysos in Translater (and thereby 3 "bugs")
Added JavaDoc in DocuemntView and removed debugging-methods
MainViewInterface is as from now veeery empty...
Deleted the whole crop-thingy in MenuBar
Deleted MainViewTest and MenuBarTest