[Android] New Embedding API

This commit implements onCreateWindowRequested of XWalkView
Also fixed the type error when generating some wrapper interface
This method will be used in a demo for onCreateWindowRequested. I also think this is necessary for xwalkview's usage in many cases.