added phaser and a simple phaser example that uses paprika as input.
Signed-off-by: Carlos Sanchez Witt <carsanwitt@gmail.com>
Added onAppear and onDisappear events to paprika
Added goalOrientation to onOrient callbacks
Added sprites for traffic light demo
Updated Phaser to latest release.
Updated phaser_demo_1 demo and sprite assets.
Fixed onOrient so it only triggers when goalOrientation is reached.
Updated paprika.js to use radians instead of degrees.
updated demo description from gh-pages branch
initial code for second demo

expanded from the first demo to fit 4 crossroads
factored out code

traffic light and lane status object creation functions
updated all callbacks with objectName

added objectName as an argument to all callback functions
functional demo with four crossroads
updated phaser_demo_2

added initial invalid orientation value to signify an inactive light
(initial condition)
small layout fix
updated phaser_demo_2

removed unnecessary condition check
updated phaser_demo_2

added resetLights function
logic to prevent cars from crashing at red light
randomly generated cars

updated game logic to create 50 cars (one every 3 seconds)
added cars crashing sound

edited from:
http://www.freesound.org/people/Rock%20Savage/sounds/59263/