minor: Add a little more detail to IOException logging in XEngine.SetXMLState()

Also removes superflous Close() commands for statements taking place within using() constructs
Also adds some comment out debug log messages for future use.
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Like the assembly and text files, only write the c#-lsl linemap in XEngine.SetXMLState() if the trust binaries flag is set.

This doesn't affect other locations where the map is written, such as on script compilation.
minor: If logging because mesh/sculpt data isn't present for an object, log object UUID rather than local id, since UUID doesn't potentially vary between simulator starts.
If RegionReady is active, don't falsely say that logins are enabled in the main scene loop before RegionReady is signalled when initial script compilation finishes.

Also raises this logging level to Info from Debug since this information is of high importance.  This matches the behaviour of the RegionReady module
Log how many scripts are candidates for starting and how many are actually started.

Adds DebugLevel infrastructure to XEngine though currently commented out and unused.
Raise some IO associated Exception logging in XEngine to error level, in line with other similar cases.

Remove more unnecessary Close() calls - these are being triggered by the Dispose() called when exiting the using statement for these sdk io objects.
Comment out recently added log message detailing number of scripts started when compile queue empties for now
Comment out the neighbour and land in connectors from info logging that they are starting up
Remove STARTUP COMPLETE message from the startuplogo.txt file and into main logging
Change default logging level for XEngine to WARN instead of DEBUG.

This is to reduce log spam from script loading, which is especially spammy for avatar movements with scripted attachments.
All important messages are at warn or above.
If you still want/need to see these messages, set <level value="DEBUG"/> in the <logger name="OpenSim.Region.ScriptEngine.XEngine"> section of OpenSim.exe.config.
This affects no other package logs, which still output at the root configured level (currently DEBUG by default).
minor: Lower flotsam asset cache warning about not having a FlotsamCache.ini to debug

It's perfectly okay not to have this section.
Lower warn logging on not having friends/group module on permissions to debug.

It's a valid configuration not to have these modules, but I think it's still worth logging the fact that certain permissions won't work (always return true)
As with LLSDInventoryItem from commit 01a2b0b, send type values in LLSDInventoryFolder for inventory CAPs as integers rather than strings.

Should also resolve some issues with exceptions being thrown in some inventory fetches.
refactor: use SOG.HasPrivateAttachmentPoint in SOP.SendTerseUpdateToClient() instead of attachmentpoint magic numbers.
Use HasPrivateAttachmentPoint properties in SOG.DeleteGroupFromScene() instead of magic numbers
Add state file location to errors logged when there's some issue with retrieving state (e.g. exceeds memory limit)
Retrigger build - last jenkins run was glitched
Add item id, name, prim name and id to log message when state exists but loading fails.

Drop logging about memory limit exceeded to warn from error
Add regression test for updating attachment position