3.7 wip

Added some more fixes. Tested a fresh install, was ok.

The jstree css still needs to be fixed in backend/pages
The mailmotor should be looked at (duplicate css/Css folder)