Add Mac OSX mouse event support and autosizing.

Add Mac OSX mouse event support to CC3Layer and Joystick control.
CC3Layer autosizes to fill window when window is resized.