1. Remove the "init", "reset", "getRoot" and "receiveTasks" APIs, which
are already implemented in the new version of "weex-js-runtime".
2. Use "createInstanceContext" instead of "createInstance". Vue only
needs to prepare the instance context and no longer execute the js
code. The js code will be executed by native.
3. Add flow type declarations and annotations.
* trim trailing whitespace
* revert(weex): remove the new Function hack for V8, as Weex uses JSC now
Remove the `callFunctionNative` method and `compileBundle`, which is provided by modified V8. In
order to maintain the consistency of the js engine, Weex also use JSC on Android. The legacy hack
for V8 engine should be removed.
* refactor(weex): move module and component apis to weex runtime
Modules and components should be registered in weex runtime, not the specific framework. The
`registerModules`, `registerComponents`, `weex.supports` and `weex.requireModule` api is moved to
weex runtime, which is in the "apache/incubator-weex" repo.
* test(weex): refactor the test cases to fit the new weex-js-runtime
* fix(weex): use document instead of renderer to create Element
* compile bundle on native side if 'compileBundle()' is available on
native side.
* refactor sendTasks
* reset renderer.compileBundle
* v2.2.2-weex.1
* v2.2.2-weex.2 && fixed memory leak
* call C++ timer instead of WxTimerModule in weex-vue-framwork
* v2.2.2-weex.4
* v2.2.2-weex.5
* v2.2.6-weex.1
* style(weex): fix eslint
* test(weex): fix test case for weex callback manager