Add an optional color parameter to the WriteQuad() routines

Preparation for adding nicer color controls in various
places: We add an optional color parameter to all four WriteQuad()
calls in MOAIGfxDevice, and an alternative TransformAndWriteQuad()
which takes that color and uses it instead of the unmodified
final color. This is always multiplicative; it's mFinalColor *
color. Add the corresponding operator* to ZLColorVec.

Similarly, the Draw() and DrawIndex() functions get an (optional)
additional invocation option which specifies a color. So, for
instance, if MOAIGridDeck2D were to specify a color when calling
this->mDeck->Draw(), the color would propagate down to the final
drawing operation.

Signed-off-by: seebs <seebs@seebs.net>
Create new "fancy" grid type with scale and color features

This patch adds a "MOAIGridFancy" type which allows tinting of grid
items using a palette of colors, as well as variable drawing scale for
each item in the grid. The intent is to allow for the use of tile maps
in cases where some amount of slight modification of tiles (such as dimming
them out, or making them partially transparent) would be desireable,
without the need to duplicate the entire tile set multiple times.

Included also is a trivial sample illustrating how to use the new features.

Signed-off-by: seebs <seebs@seebs.net>
Add MOAIGridFancy* to the Xcode project.

This patch is separated out because I have low confidence that xcode
won't have somehow garbled the Xcode project.

Signed-off-by: seebs <seebs@seebs.net>
Cleanup/bug fixes, add alpha channel to GridFancy

It is occasionally desireable to be able to control alpha
independently from the rest of the color channels. To this
end, add a separate Alpha field to the GridFancy, make the
alpha component optional (defaulting to 1.0) in SetPalette,
and add utility functions to ZLColorVec to scale the alpha
or color channels by a fixed amount.

Signed-off-by: Seebs <seebs@seebs.net>
MOAIBox2DBody:setGravityScale and :getGravityScale added. See Box2D documentation for usage.
created a new branch from V1.5a-host for our features
first commit with the intermadiate changes for the camera stuff
access new java method from lua via jni
sped up build scripts, still need work over
can open cam from lua
codeexecution in lua is not halted, so we rutuen vars too late
enabled logging from within lua for android host
added MoaiCamera.java
intermediate commit while trying to get camera support working
intermediate commit while working on camera feature
We differ from master only in this file. Needed to get travis to build us in an osx vm
added missing ci-osx.sh file
[skip ci]
set executable on ci-osx.sh
Modification of some scripts.

Add an extension to the shell script.
Modified so that it does not depend on the current directory.
Modification of the README.
Merge remote-tracking branch 'moaiforge/1.5_pull' into reog-development

Conflicts:
	README.md
	src/config-default/moai_version.h
Update README
Merge branch 'reog-development' into development
Merge branch 'development'
Support for both of GlutHost and SDLHost.