Changes from 3.4.5 to 3.4.6

*Kernel:
- Added site.ini setting DebugSetting/AlwaysLog which controls the debug types
  to always log to files.
  (Merged from stable/3.5 (3.5.2) rev. 11070)
- Modified: The copying of related objects is done before attributes when copying an
  object or one of its versions.
- Changed pregeneration of content cache to happen inside the 'publish'
  operation instead of in the content/edit page.
- Changed all DB releated PHP scripts to not use the default INI values if
  database settings are supplied to the script.
- Added missing 'socket' parameter to some DB scripts.

ezpm.php:
- Added options for configuring database settings. If used the default values
  from INI settings are not used.

*Bugfixes:
- Fixed bug: Template block cache isn't cleared when updating node priorities.
- Fixed bug: eZGeneralDigesthandler returns users when no users should be returned
  (Merged from stable/3.3 (3.3-7) rev. 10861)
- Fixed bug #6188: Wrong CookieTimeout in site.ini
- Fixed bug #5329: Package system does not make use of charset conversion.
- Fixed bug #6149: Directory permission checking routine error.
- Fixed bug #6198: Date and time field as object name pattern for a class.
- Fixed bug #5987: Save draft should not respect the required field.
- Fixed bug #6181: Error sending SMTP mail, invalid rcpt header. 
- Fixed bug when modulo variable in delimiter contains whitespace, and template compile is disabled.
- Fixed bug with incorrect current_version when copying eZContentObject.
- Fixed bug with creating URL translation from existing url_alias to other system module.
- Fixed bug #6289: ezmail: disallowed characters in the MIME headers
- Fixed bug #4895: ez.no: Please change Linefeed
- Fixed bug #3872: Mail-sending: Linefeed problem (again)
- Fixed bug #3394: ez.no: notification system
- Fixed bug #3154: ez.no: notifaction not working properly / wrong email output
- Fixed bug #6321: Not valid HTML in template
- Fixed bug #6269: Error in ezpackage.php after updating 3.5.0 to 3.5.1
- Fixed bug #6270: Error in ezpackage.php
- Fixed: Session data was rewritten in case of HTTP request errors.
- Fixed bug #6085: Resolved Problems with CGI and ForceVirtualhost.
- Fixed bug #6354: Template compile breaks maketime function
- Fixed bug #6039: User settings ini - DefaultSectionID
- Fixed bug #6434: Time and Date Datatype do not serialize with timezone information
- Fixed bug #6334: Checkbox does not do validation
  (Merged from trunk (3.6.0 alpha) rev. 11157)
- Fixed bug #6074: Major crash because of typo in site.ini.
  (Merged from trunk (3.6.0 alpha) rev. 11233)
- Fixed bug #6447: eZUser session caching problems.
- Fixed bug #6445: Pregeneration of content cache: Missing default view parameters.
- Fixed bug: Content cache pregeneration: The DesignSetting of the selected
  siteaccess were not used.
  (Submitted by: Bruce Morrison)
- Fixed bug: Content cache pregeneration: The cache was generated for the 
  currently logged in user instead of the anonymous user or another specific
  user.
  (Submitted by: Bruce Morrison)
- Fixed bug #6077: eZImageAliasHandler::initializeFromFile may mess things up.
- Fixed bug #6438: Defect node fetching.
  (Merged from trunk (3.6.0 alpha) rev. 11316)
- Fixed bug #6479: Problem with Sundays. No correct date. 
- Fixed bug #6180: URL translator confusion revisited.
  (Manually merged from stable/3.5 (3.5.2) rev. 11342)
- Fixed bug #6469: Wrong order number used in removeorder.
- Fixed bug #6255: Removing user group from a role assignment does not clear
  the caches.
- Fixed bug: Session would be activated allthough eZScript was instructed not
  to start sessions.
- Fixed: Minor security issue that allowed 'admin' user to edit every toolbar.
- Fixed bug: Notification digest handler lead to sql errors.
  (Merged from trunk (3.6.0 alpha) rev. 11415)
- Fixed bug: MYSQL ERROR (#1071) with UTF8 DB on kernel injection
- Fixed bug #6514: ezobjectrelationlist does not archive old versions
- Fixed bug #6519: ezobjectrelationlist creates lots of needless nodeassignments

*Library:

eZDebug:
- Added support for choosing which debug levels to always log. By default it
  will always log errors even if debug output is off.
  (Merged from stable/3.5 (3.5.2) rev. 11070)

eZDB:
- The reading of INI settings can now be disabled by passing the 'use_default'
  entry to the database parameter array in eZDB.
- PostgreSQL driver will no longer send false/null parameters to the connect
  function.
- Database implementations can now have aliases, currently mysql points to
  ezmysql and postgresql to ezpostgresql.
  (Merged from stable/3.5 (3.5.0) rev. 9520)

eZTemplate:
- Fixed some issues with 'insert' operator when the input value was
  undetermined.
- Fixed PHP warnings when compiling 'si' operator.
