Adding a *nix run script for samples.

Adding run.sh to each of the samples.  It mirrors the bat script
already provided for windows.
Updating the android run-host script so that the init.lua file gets run when working directory is .

When the android working_dir was "." the init.lua was not run because
its directory was not determined properly.  Added a check for a working
dir of "." in the run-host and skipping the default directory
determination if found.
Fix for infinite loop in MOAITimer ping-pong mode

When the time is equal to the end time, the old version will go into an
infinite loop.
Added UNIFORM_WORLD_VIEW uniform to MOAIShader which is bound to worldView matrix (worldViewProj without projection)

Signed-off-by: Josh Handley <jhandley@lkc.com>
Added setType to MOAIBox2DBody

Signed-off-by: Josh Handley <jhandley@lkc.com>
fix glut fullscreen bug (app would not stay in fullscreen mode)
Invalid null check in JSON parser caused infinite loop when encoding lua numeric arrays
Made shader variables linked MOAIShader.UNIFORM_TRANSFORM get all elements of 3D transform matrix instead of just the upper left 3x3.
json parser flags while encoding
Added superseded note

Added comment explaining removeRenderPass has been superseded by setRenderTable
Merge pull request #732 from krizka/master

Fix MOAIJSONParser flags while encoding
Merge pull request #729 from JoakimBlomberg/patch-1

Invalid null check in JSON parser caused infinite loop when encoding lua...
Merge pull request #734 from eidosabi/master

Added superseded note
Merge pull request #726 from jhandley/master

Added UNIFORM_WORLD_VIEW to MOAIShader and exposed setType on MOAIBox2DBody
Merge pull request #727 from atis--/glut_fullscreen_fix

fix glut fullscreen bug (app would not stay in fullscreen mode)
Merge pull request #716 from Kaali/moai-master

Fix for infinite loop in MOAITimer ping-pong mode
Merge pull request #714 from JandyCo/android-print-fix

Updating the android run-host script so that the init.lua file gets run ...
Updating *nix run scripts according to spacepluk's comments

Quoting the moai bin in the check, changing bash to sh.  Also exiting
on error.
Merge pull request #692 from JandyCo/nix-samples

Adding a *nix run script for samples.