Add per-user checking to PrimLimitsModule

Signed-off-by: Melanie <melanie@t-data.com>
Tweak to PrimLimits and add missing Regions.ini example

Signed-off-by: Melanie <melanie@t-data.com>
Remove the old XML format parsing. Now additional region params can just be
added as they are already exposed through an API when using Nini. That will
remove the need to always edit RegioInfo just to add a region based setting.
Refactor: Rename GetOtherSetting to GetSetting and make SetOtherSetting private
BulletSim: reduce the terrain collison margin to be the same as other
objects in the world.

This was originally changed in an attempt to make vehicles work better
but the effect was not that large and it causes avatars to float
above the terrain.
Better error checking when creating hyperlinks: a) Reject invalid strings; b) Default port is 80, not 0

The change of default port may fix http://opensimulator.org/mantis/view.php?id=7108 , where a user was able to create a Hyperlink to OSGrid from inside OSGrid.
In teleports, when sending the Source region, set its ServerURI to the Gatekeeper URI (which is used with Regions); not the Home URI (which is used with Users)
Catch empty url error
Fixed: the parcel flag "Allow Scripts from Group" should only check if the parcel has a Group set; it doesn't have to be *deeded* to the group

Also some cleanup of the use of Group ID's (with no change to functionality).
Fixed: if a user belonged to the parcel's group then he was allowed to rez object in the parcel even if the flag "Create Objects by Group" was disabled
Fixed: once a user has rezzed an object, they could then duplicate it as much as they wanted even if the parcel's permissions had since been changed to disallow rezzing
Fixed: when any avatar changed his Active Group, it was set as the active group for *all* the avatars in the scene (not permanently)
Stopped setting the Service URL "GatekeeperURI" on users' accounts. It isn't actually used.
Better error-handling when storing assets: recognize that 'null' is an error value
Possible solution for #7120 and #7051

Signed-off-by: Robert Adams <misterblue@misterblue.com>
Add 'lillith_xue' to list of CONTRIBUTORS.TXT
Removed references to 'Intel' as the contributors are no independent.
Better logging in PresenceService, to help diagnose presence problems.
Removed an attempt to set a user's presence to "Region 0" when they HG teleport to another grid.

a) This shouldn't have been done because at that point the user is still logged-in to the current grid. b) It's not necessary because the user will soon be logged-out completely. c) And it didn't even work because the MySQL database layer prevents setting the region to 0.
Better error handling when retrieving offline IMs
Fixed: when a user logged-in, sometimes he didn't get notified of the Online status of friends, so they continued to appear Offline.

This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent.

To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.