Corrected case to get columns from Regions table from PostgreSQL http://opensimulator.org/mantis/view.php?id=6865

Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
fix position changes when sitting on a prim with position and/or orientation explicitly specified
Only translate linked prim specified offset pos by the link prim rotation, not any specified avatar rotation as well.

Don't translate root prim position by avatar rotation.
add a "rotate scene" console command. Seems to work for prims/sculpts/mesh but not for foliage, don't know why. Also doesn't work on terrain. Successive use of this command will likely introduce floating point error accumulation. Back up your region before using it :)
Fix stand positions rather than having the stand jump to the root prim.
"rotate scene" command now uses Constants.RegionSize / 2 to pick the center of rotation and center can be optionally overridden in the command line
Change the log level for the LOGIN DISABLED and LOGIN ENABLED messages is
the RegionReady module to be warn so that the message will show up in the
log for simulators running in a more production mode (knowing when logins
are functional is useful).
minor: Change ProfileServiceURL reference in OpenSim.ini.example to be consistent
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
varregion: many replacements of in-place arithmetic with calls to
the Util functions for converting world addresses to region addresses
and converting region handles to locations.
varregion: add ITerrainChannel.GetHeightAtXYZ() for eventual mesh terrain.
Implementation of same in TerrainChannel.cs.
Check for bounds in TerrainChannel[x,y] to prevent array access exceptions.
Add parameter checking for land_collision, land_collision_start and land_collision_end lsl events

Wrong number of parmeters now generates syntax error on compile, as seen on LL grid
Restore SP.AbsolutePosition to properly return actual absolute position when sitting
Fix regression where sitting on ground stopped working.

This was due to the PhysicsActor no longer being recreated on stand from ground.
Merge branch 'link-sitting'
Comment out debug sit message accidently left active
Remove unused sp.ParentPosition, which has not been used for some time
Still send CameraEyeOffset in UDP SendSitReponse even if at offset is Vector3.Zero
Remove nudgehack from SP.HandleAgentUpdate by making MovementFlag a uint rather than a byte
Implement most effects of AGENT_CONTROL_STOP

AGENT_CONTROL_STOP is specified to SP.HandleAgentUpdate if the user holds down the space bar on a viewer.
For a stopped avatar, this prevents fly or walk/run (though not rotate) until released.
For a walking/running avatar, this reduces movement to half speed.
For a flying avatar, this stops the avatar.
These are observed behaviours on the LL grid - there was no previous OpenSimulator implementation
This commit introduces an optional parameter to SP.AddNewMovement(), which means that it will no longer compile on .NET 3.5 or earlier versions of Mono than 2.8
Currently, this does not work for jumping, and if used whilst flying the avatar continues the fly animation even though it does not move