Merge pull request #63 from weeezes/master

Rect's 'bottomleft', 'bottomright' and 'topright' sets fixed
add some missing unit tests for rect accessors
supress key defaults only if display canvas has focus

keys like SPACE or backspace or only supressed (=do not trigger their
default browser action) if the canvas has focus. the canvas gets focus
when the user clicks on the canvas.

i thought about giving the canvas focus on load but decided against that;
game authors can force initial focus themsleves
gamejs.display.DISABLE_SMOOTHING flag

for retro, pixel graphics it is useful to disable the canvas smoothing;
passing this flag to display.setMode() will disable smoothing for
all surfaces created thereafter by gamejs.
unit test's `surfaceEqual` was completely broken

this commits semi-breaks the unit tests but in a good direction
fix jsdoc
gamejs.utils.vectors.angle() returns normalized value
update qunit; make surfaceQual async; fix all async tests

also prefixing with qUnit a lot
implement event.get(eventTypes) argument

also made it so that mouse handlers are added to document b/c in
fullscreen we wouldn't get the up/down otherwise (?)
simplify & fix smoothing

set SURFACE to null in setMode to force a true re-initialization in any
case even if called multiple times

and don't _smooth _noSmooth in display because Surface already does
that on its own.
add gamejs.util.prng static functions

one generator instance per gamejs instance; also fixed the weird
alea constructor
Build fix for cygwin users

Building gamejs on Cygwin with the java command requires windows style paths, like: C:/cygwin/home/
The temp file path was still using posix style paths, causing the build to create an empty gamejs.min.js file.
Merge pull request #74 from rejacobson/topic/cygwin_build_path_fix

Build fix for cygwin users
changed api to fix bad keyword override
fixed trailing commas, which broke compressed minify
changed name
Merge pull request #76 from systemstart/master

minify compress was broken due to unclean js
fixed unit test for prng.integer()

some code cleanup
Merge pull request #77 from systemstart/master

fixed prng unit test
Added quadratic and bezier curve drawing capabilities to /lib/gamejs/draw.js. Added example drawings to /examples/draw. Updated /examples/skeleton/public/gamejs.min.js with the latest build.