[idl-generator] Add event handler support
Merge pull request #14 from deqing/event-handler

[idl-generator] Add event handler support
[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.
Merge pull request #19 from halton/master

[ARDrone][Video] Add 'deviceready' event and init() function
[ARDrone][Video] Turn FPS

Add height/width attribtue for P264Frame.
Turn latency as 500ms to reduce slpash.
Remove ardone example
[ARDrone][Pilot] Change pilot namespace
[ARDrone][Pilot] Support of customized ip address.
[ARDrone][Pilot] Fix issue of unable control.
[ARDrone][Pilot] Add example of pilot control part.
Merge pull request #20 from legendlee1314/master

[ARDrone][Pilot] Fix ardrone pilot issues and add example part.
[idl-generator] Add support for self-defined JS function

Developers can now write their own JS file for extension.