Fix error when serializing CollectionItems (oPersistent) that have references to other ORM objects.
Merge commit 'fd3b4e01c206d99f299571dc21a346ab22ccb7e6'

* commit 'fd3b4e01c206d99f299571dc21a346ab22ccb7e6':
  fixed TPersistent process in TJSONWriter.WriteObject - thanks Jordi for the pull request in
Merge branch 'master' of https://github.com/synopse/mORMot

# By Synopse
# Via Synopse
* 'master' of https://github.com/synopse/mORMot:
  fixed overloaded constructor TSQLRecord.Create() constructor - thanks hanspi for the patch!
  asynchronous process of 'RemoteLog' client for remote logging to LogView - a dedicated background thread will now run the transmission process without blocking the main program execution, gathering log rows in chunks in case of high activity
  introducing TSQLRest.LogClass property, allowing to set a custom log class for a given TSQLRest instance - this feature impacts also e.g. low-level SQLite3 or MongoDB logging, in the context of our ORM
  TSynLog.Enter won't raise a GPF if the class is nil
  remote logging client-side refactoring   *  CreateForRemoteLogging() constructor is now at TSQLHttpClientGeneric level instead of TSQLHttpClientWinGeneric   *  added TSQLRestClientURI.ServerRemoteLogStart and ServerRemoteLogStop methods
  TSQLHTTPRemoteLogServer class has been moved from LogViewMain.pas into mORMotHttpServer.pas - it will help any application to serve remote log, if needed
  let FindHeader() work if EOL is CRLF or LF only (whereas the HTTP standard states that it should be CRLF on all platforms)
  let remote logging work with SQLite3Log, i.e. with potential nested log events within the echoing callback
  introducing new "Server Launch" button to the LogView tool   *  allows to run the tool as a HTTP server, ready to display remote logs, echoed from mORMot HTTP clients   *  added RemoteLoggingTest client sample project in "11 - Exception logging", able to connect and echo its log content to the LogView tool running as server
  added TSQLHttpServer.Port and DomainName properties
  added TSQLRestClientURI.ServerRemoteLog wrapper to method-based service
  added TSQLRestClientURI.ServerRemoteLog wrapper to method-based service
  handle and log explicitly the most known winhttp.dll error code
  added TMemoryMapText.AddInMemoryLine method to allow runtime appending of new lines of text - used e.g. by TSynLogFile for life update of remote logs - also changed TOnTextWriterEcho callback signature to return a boolean and optionally notify if the echo did succeed
  ensure BatchAdd() will trigger the OnUpdateEvent callback when using the internal SQLite3 engine and its enhanced multi-insert SQL mode - attempt to fix [7a2d9a2ef2]
  fixed samples 18 and 26 which failed to compile due to a signature change of TSQLRecord.InitializeTable() virtual method
  added Delphi XE7 compiler to continuous integration batch
  fixed FPC compilation issues
  cross-platform code refactoring since SmartMobileStudio 2.1.1.3435 did fix some compiler bugs or limitations we identified and reported to the SMS team (thanks for your reactivity, especially Eric!), so that our temporary workarounds are not necessary any more
  official XE7 support of the framework <a href=http://synopse.info/forum/viewtopic.php?id=1990>as reported by users in our forum thread</a>!
Bug Fix: Parameters provided by URL using '[' are no longer processed.

Bad Request is returned.
Merge branch 'master' of https://github.com/synopse/mORMot

# By Synopse
# Via Synopse
* 'master' of https://github.com/synopse/mORMot:
  introducing TSQLRest.Log() support for our cross-platform client units   *  either logging to a file, in the same format than TSynLog / LogView   *  or logging to a remote log server, e.g. our LogView tool running in server mode   *  all ORM and SOA client methods will now use this logging abilities to trace the process   *  tested with Delphi, FPC or SmartMobileStudio clients (only remote logs are allowed for SMS, since there is no file access from an HTML5 app)
  fixed the multi-thread process of remote logging server mode of the LogView tool (UI was refreshed from outside the main thread ID), and major speed up in case of huge number of incoming events
Merge pull request #2 from jorditudela/master

Parameters in URL are not properly handled