Prepare for 1.6.2 and make permissions test less strict (due to pentest option and packaging)
Adjusted file permissions, permissions check and storage of PID file
Less restrictive permissions for include files and plugins, to allow pentest mode.