CompositeSprite UserData exposed to script
Update SpriteBatchItem.cc
Properly escape jsonText buffer
Taml properly read object names in JSON format.
getTamlObjectName previously looked for tamlRefIdName when it should
be looking for tamlNamedObjectName.
Replace char with UTF8 in stream.h
Fixes for CollisionGroups and CollisionLayers

- setCollisionLayers TorqueScript method now works properly with individual element input (n1, n2, n3, ...)
- directly assigning space separated strings to CollisionGroups and CollisionLayers fields in TorqueScript now works properly
- Taml now outputs both fields as space separated strings instead of a bit mask integer
Merge pull request #221 from capnlove/UserData

CompositeSprite UserData exposed to script
Merge pull request #229 from lukaspj/Fix-Taml-JSON

Taml - JSON fix
Merge pull request #230 from lukaspj/Use-UTF8-Not-Char

Replace char with UTF8 in stream.h
Merge pull request #233 from lilligreen/collisions

Fixes for CollisionGroups and CollisionLayers
Minor cleanup on UserData methods

Added Doxygen comments as well.
Print warnings for invalid XInput device index

Thanks to user m-decoster in PR #217 for the original submission
Update T2D version 3.0 to 3.1
Updated T2D engine version string to 3.1
Merge remote-tracking branch 'gg/development' into development

Conflicts:
	engine/source/2d/core/Utility.cc