fixed body file production
updated for producing body file without comments
taken from upstream/master
escape XML
Merge remote-tracking branch 'upstream/master'
Fixed Tls initialization problem

Visual Studio optimization removes GetTlsIndex class constructor execution in release builds, due to it's not used anywhere. So the previous code has never initialized tlsIndex variable with anything. Such behavior sometime caused the crashes due to error code was not saved into unallocated TLS. 
I've made the explicit calls of GetTlsIndex methods to force class instance creation.
p.s. You may see it yourself how TlsGetValue() fails each time by running the release build under MS Application verifier.
TSK_FS_INFO must be deallocated via tsk_fs_free

Otherwise the critical section in TSK_FS_INFO is not freed
Fixed critical section leak in TSK_FS_INFO
Fixed critical section leak in TSK_FS_INFO
Fixed critical section leak in TSK_FS_INFO
Fixed critical section leak in TSK_FS_INFO
fixed yaffs compiler warnings and formatting
Updated NEWS file
Fixed bug with non-escaped characters in sqlite strings in db_sqlite.cpp
Added additional calls to registerError() in auto_db.cpp
resolve merge conflicts
fixed name truncation when adding to DB
removed loop to clean up path
fixed off by one error with new sanity checks
Merge pull request #286 from antonkukoba/patch-4

TSK_FS_INFO must be deallocated via tsk_fs_free
Merge pull request #285 from antonkukoba/patch-3

Fixed Tls initialization problem