[idl-generator] Add test case for event handler

1. Add demoevent handler
2. Add reference of base to impl class to broadcast event
Merge pull request #15 from deqing/event-handler

[idl-generator] Add test case for event handler
Add ARDrone pilot extension.
Merge pull request #16 from legendlee1314/ardrone_pilot_new

Add ARDrone pilot extension.
[ARDrone] Workaround for a new issue from gyp

Use distinct string to avoid conflict in gyp cache.

Details of the issue:
http://code.google.com/p/gyp/issues/detail?id=112
Merge pull request #17 from deqing/mess

[ARDrone] Workaround for a new issue from gyp
Implement ARDrone video extension

This extension will accept the P264 stream, parse each packet into H264
file, then mux it into mp4. Then notify JS part to update a video
element src. On the web front, it use requestAnimationFrame and a
canvas element to reduce slpash issue.

So far the FPS is ~10fps with some status:
1. At the first 10 seconds, the screen will splash, get better after 10s,
  almost no splash after 15s.
2. Some times core dump when mux

Command to build:
===========
gyp --depth=. all.gyp && \
ninja -C out/Default/ && make_apk.py \
--package=org.xwalk.extensions.ardrone \
--extensions="./out/Default/gen/ardrone_video/" --arch=x86 \
--manifest="./examples/ardrone_video/manifest.json" && \
adb install -r Ardrone_0.0.0.1_x86.apk
Merge pull request #18 from halton/ardrone_video

Ardrone video support
[ARDrone][Video] Add 'deviceready' event and init() function

'deviceready' event is added to notify web page to play() the video.
Thus web app developer can show banner when no videos.