space-leap: use THREE.ImageUtils.crossOrgin

The previous commit addressed the Chrome complaint on
cross-origin image usage but using native APIs. Since
we are using a library for image loading we also need
to make sure to propagate the crossOrgin = "anonymous"
tag to the THREE.ImageUtils.

If you keep running into this issue consider the security
risk of having a web page refer to a local image on your
hard drive. This seems to therefrore be a cross domain
security fix -- not a bug. To resolve this the best
advice comes from Robbie Tilton [0] [1]:

================================================================
If you're new to three.js and you're using Chrome to run
the web app locally you'll receive cross-domain issues with
loading in the files.  To run it locally - there is a simple
python command you can use in your terminal:

	python -m SimpleHTTPServer 8000

This will resolve cross-domain issues with Chrome and the
example will be viewable on localhost:8000
================================================================

[0] http://www.robbietilton.com/
[1] http://codepen.io/leapmotion/pen/cEilz

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
space-leap: use a local copy of the leap JS library

Using the external reference can cause a huge delay on demos,
specially if you're tethering on mobile all the time ;)

LeapJS v0.4.3
http://github.com/leapmotion/leapjs/

The page you want to check for updates as well for production
and development versions:

https://developer.leapmotion.com/leapjs/welcome

License details:

Copyright 2013 LeapMotion, Inc. and other contributors
Released under the BSD-2-Clause license
http://github.com/leapmotion/leapjs/blob/master/LICENSE.txt

We use the production compat version but also carry around
the development version to keep us and our users sane when
we want to look at the code.

I'm also importing Robbie Tilton's fork of leapjs [0], to let
developers easily switch in case his library has better
improvements over Leap Motion's. At this point this is just
not clear.

Robbie's scene for earth object rendering [1] is something
we are looking to reuse for Asteroid detail visualization,
and it seems the rendering / controls there are a bit smoother
with Robbie's leapjs. We'll have to evaluate this a bit more
later.

To use Leap Motion's version use lib/leap-0.4.3.min.js, to use
Robbie's version use lib/leap.min.js.

[0] https://github.com/rtilton1/leapjs
[1] http://codepen.io/leapmotion/pen/cEilz

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
space-leap: import base earth ground surface map

This comes from:

http://commons.wikimedia.org/wiki/File:Srtm_ramp2.world.21600x10800.jpg

This image is licensed under the Public Domain. As per inspiration from
Robbie's work we are going to use the same surface map for earth before
we jump to asteroids. Robbie's work again:

http://codepen.io/leapmotion/pen/cEilz

Interested parties in looking for more maps of earth maps can use
NASA's earthobservatory image database:

http://earthobservatory.nasa.gov/IOTD/view.php?id=42805

As for clouds the image we import is a 3600x1800 resolution image from
NASA's cloud fraction page:

http://neo.sci.gsfc.nasa.gov/view.php?datasetId=MODAL2_M_CLD_FR

The cloud image we took is the view of the clouds as of August 2013,
which I am not sure why its that date given its April 2014. I tried
my best to look for licensing information about the cloud image
but I cannot find any, so I am in hopes NASA is OK to release that
under the Public Domain. I'll poke and verify.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
space-leap: add black canvas for css

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
space-leap: add some simple event loop debugging library

This is split into levels, which we use for caching different
type of messages. We also make it easy to enable and disable
this print mechanism. Right no we need it.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
space-leap: add a star zoom focus library lib/3d-zoom-star.js

This is heavily inspired on the example work by Robbie Tilton [0]
leapmotion example code posted on codepen.io [1]. According to codepen.io's
licensing page [2] all public code posted on codepen.io is licensed
under the MIT license. They apply the license to the code automatically
when you view an example code * (what they call a "pen") in its
"Full Page" view.  We at space-leap have modified modified Robbie's
code to fit into a library form, be dynamic and to address the cross
domain issue on Chrome.

I still haven't figured out yet why the image for the star is not
displayed, it all seems to go through fine...

[0] http://www.robbietilton.com/
[1] http://codepen.io/leapmotion/full/cEilz
[2] http://blog.codepen.io/legal/licensing/

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
space-leap: import all of William's handy work on gestures

This sets the stage for us to start switching between scenes.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>