Variable Size Regions! Support for prehash RegionSizeX and large patches. (WIP)

Mostly from Ukando, tweaked a bit to be cleaner, and a little less dramatic.

decode_patch_header now takes a bool optionally, as third argument.
_PREHASH_RegionSizeX is the only used of the two _PREHASH_RegionSize*.
llsurface.cpp: Copy the connectNeighbor for variable size regions almost directly from Ukando
llsurfacepatch.cpp: Patch code from ukando and voodoo.
Changed hardcoded 256 constants and such to width functions in: llglsandbox.cpp, llsurface.cpp, llviewerregion.cpp, llviewerparcelmanager, llviewerparcelmgr.cpp, llvowater.cpp, llworld.cpp
Use region specific width in: llagent.cpp, llglsandbox.cpp, llmanip.cpp, llmanipscale.cpp, llpanelobject.cpp, llviewerbject.cpp, llwind.cpp
Use 256 in llnetmap.cpp in places...
llfloaterregioninfo.cpp: Aurora grid has wacky textures.
Add LLViewerParcelMgr::widthUpdate() for updating mParcelsPerEdge given a region's width. Used in llstartup now.
Add LLWorld::setWidth() for getting a region's size from LLMessageSystem pointers and setting mWidth and mWidthInMeters, accordingly. Called in llviewermessage.cpp as well.
Merge branch 'master' into VarRegion
AuroraSim: non-power-of-two support.
AuroraSim: More tiny bits to help life be normal on the grid.
Merge remote-tracking branch 'Liru/master'
Merge remote-tracking branch 'Liru/master'
added new floater_dae_export.xml translation file and other minor changes
Merge remote-tracking branch 'Liru/master'
Merge remote-tracking branch 'Liru/master'
update string.xml file for user status in panel avatar
Re-enabled RenderAnimateTrees. Fixes issue 1101: http://goo.gl/YIvqSY
Merge branch 'master' of github.com:singularity-viewer/SingularityViewer
Increased in Preferences > Graphics the maximum value for the Objects LOD slider from 2 to 4 and for the Trees LOD slider from 1 to 2
Reverted Objects LOD slider max value to 2 and fixed presets values for the Trees LOD slider according to the new maximum
Crash fix for empty media URL.

Apparently LLViewerMediaImpl::navigateInternal could be called with
an empty url. That lead to a curl request with an empty url, which
failed because that leads to an empty 'service' string, which is
not allowed.

Patched the code to ignore empty media urls and hardened AICurl
to deal with any remaining cases.
Avoid long viewer freezes when region doesn't have reverse DNS.

Some opensim servers might not have a reverse DNS, which causes
a stall of up to 5 seconds for each call. This means that
every time you up the parcel music stream (or any other media)
the viewer would freeze six times 5 seconds.. 30 seconds.

With this patch it only freeze once ;) (when you enter a region).
It already did that before (too), but after that opening the
parcel media doesn't freeze the viewer at all anymore.
Merge remote-tracking branch 'singu/master'
Merge branch 'master' of git://github.com/LightDrake/SingularityViewer
Fix crash when previewing an animation.

When uploading an animation, playing the to-be-uploaded
animation on ones own avatar while ground sitting would
crash the viewer.

This fixes that, and makes the avatar cleanly stand up first.
Rationale: the alternative is to make the user learn by
means of crashing, being frozen or just not seeing the right
animation that they have to stand before uploading an animation.
There is no reason not to automate that.
Fix group search's copy uri button copying the link for a personal group always.. Thanks to Malakina Gummibaum for pointing this out~