documents are not generated direct in the user
The grandAccess method now works with the new datamodel
The method grandAccess now works correcty with the new Model
updated acceptAccess to the new data Layout
accept Acess works with the new datalayout
the remove document method now works as expected with the new layout
fixed js compile-time 'warnings'
no more split document into DocumentLines; ultimately superfluous to do so
further modularized the routes definitions
Merge remote-tracking branch 'upstream/master' into feature/multibledocs

Conflicts:
	routes.js
new sub documents can be generated and stored in the DB. However they are not displayed yet
So far sub documents can be generated and are shown for one user, but sharing does not work yet
multible docs should now work
fixed bug in PDF storage
fixed bug in PDF url
fixed bug in PDF fetching pdf
fixed bug in PDF fetching pdf
tex files should get the right ending
tex files should get the right ending
users with shared access are removed correctly from the project