Add pdf export functions

refs #4356
Remove tcpdf library and use dompdf instead

Remove tcpdf because of improper CSS support and use Dompdf instead, to be able
to generate pdfs that look similar to the html views

refs #4356
Convert the opened view to pdf

refs #4356
Fix page-break on table rows

The dompdf library messes up the document layout, when page breaks reach over
several sites and will eventually even crash completely. Add a function to
split up tables in different chunks to fix this issue.

refs #4356
Show only mainDetailGrid in pdf and move css fixes to less-directory

refs #4356
Fix dompdf library directory

refs #4356
Merge branch 'feature/export-view-as-pdf-4356'
We should catch all Exceptions when showing errors on the login screen
Move pdf.css into different directory to prevent it from being loaded during
regular requests.

refs #5644
Fix PHP Warning:  The use statement with non-compound name 'Exception' has no effect
Implement structures for permissions, restrictions and membership

refs #4624