Added CHECK_PERMS, ADMIN_WYSIWIG, AUTOCREATE settings and a check whether Site is used. Also added numerous unit tests to ensure that current default behavior does not change. Unit tests with alterantive (non default) settings are still missing